This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

tutorials:channel_full_code [2019/07/04 18:52] justin |
tutorials:channel_full_code [2019/07/04 18:53] (current) justin |
||
---|---|---|---|

Line 238: | Line 238: | ||

for iOrientation = 1:179 | for iOrientation = 1:179 | ||

% compute the mean voxel response predicted by the channel encoding model | % compute the mean voxel response predicted by the channel encoding model | ||

- | predictedResponse = bimodalChannelBasis(iOrientation,:)*estimatedWeights; | + | predictedResponse = channelBasis(iOrientation,:)*estimatedWeights; |

% now use that mean response and the model covariance to estimate the probability | % now use that mean response and the model covariance to estimate the probability | ||

% of seeing this orientation given the response on this trial | % of seeing this orientation given the response on this trial |