nirs_kit中个体水平分析出错

Attempted to access R(1); index out of bounds because numel(R)=0.
Error in glmfit (line 242)
rankx = sum(abs(diag(R)) > abs(R(1))*max(n,ncolx)*eps(class(R)));
Error in nirs_firstlevel_analysis (line 137)
beta_all(:,ch_id)=glmfit(glmpredictors,nirsdata.oxyData(:,ch_id));
Error in NIRS_Task_Individual_Analysis>run_Callback (line 528)
nirs_firstlevel_analysis(handles);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in NIRS_Task_Individual_Analysis (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)NIRS_Task_Individual_Analysis('run_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback

2 Kommentare

Gojo
Gojo am 17 Okt. 2024
Could you share your code to reproduce the issue?
家雨
家雨 am 17 Okt. 2024
好的,我截图了错误的地方。

Melden Sie sich an, um zu kommentieren.

Antworten (5)

家雨
家雨 am 17 Okt. 2024

0 Stimmen

你好,我截图了出错误的地方

Kategorien

Mehr zu Physics finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 17 Okt. 2024

Kommentiert:

am 17 Okt. 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by