[#9440] Error in nirs_spm_indiv.m

Please log in

State: more information
Open
Date:
2019-07-02 17:54
Priority: more information
3
Submitted By:
anilthtoa (anilthtoa)
Assigned To: more information
Nobody (None)
Hardware: 
PC
Product: 
Software A
Operating System: 
other
Component: 
None
Version: 
None
Severity: 
critical
Resolution: 
None
Summary: more information
Error in nirs_spm_indiv.m

Detailed description

% update for calculating spatial correlations between different channel
% residuals (v3_3)
ResSS_nirs = zeros(nCh, nCh);
for aa = 1:nCh
for bb = 1:nCh
if aa == bb
ResSS_nirs(aa,aa) = ResSS(aa);
elseif aa ~= bb
ResSS_nirs(aa,bb) = (KWY(:,aa)'*KWY(:,bb) - KWY(:,i)'*xX.xKXs.X*xX.pKX* KWY(:,bb)); [This line index i is not defined]
end
end
end
% end of updates


In the file "nirs_spm_indiv.m", the index i is not defined. I think it needs to be aa

Response

No Responses Have Been Posted

Attached Files:

Name Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item