You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During preprocessing, when I launch hmmprocess to detrend / standardise my data (but also later, if I do not perform these processes), it seems that Matlab is unable to read the data.X field of the variable data. This happens both if I give it the variable in the cell format and if I give the matrix directly.
Here is an instance of the script and the resulting error:
During preprocessing, when I launch hmmprocess to detrend / standardise my data (but also later, if I do not perform these processes), it seems that Matlab is unable to read the data.X field of the variable data. This happens both if I give it the variable in the cell format and if I give the matrix directly.
Here is an instance of the script and the resulting error:
[data,T,options] = hmmpreprocess(data(sub),T(sub),options);
Error in line 108: Index in position 1 exceeds array bounds (must not exceed 1).
Error in detrenddata (line 6)
data.X(ind,:) = detrend(data.X(ind,:));
Error in hmmpreprocess (line 107)
data = detrenddata(data,T);
Any suggestions on how to solve this?
Thanks!
The text was updated successfully, but these errors were encountered: