for i=1:length(Data); for j=1:3 if Data(i,j)<=0 Data(i,:)=[]; end endend
MATLAB: How to fix error index exceeds matrix dimensions. I am very new to matlab and am trying to write a loop for this data set but I keep getting this error. Any help would be appreciated!
errorloop
Related Question
- How to fit a series of datapoints using 3 piecewise linear fit lines
- Hi, is there any way, I can save a random binary data after generating it?any suggestion would be appreciated! thank you
- Zero-filling matricies but different dimensions
- Need help to overcome this error ‘Dimensions of matrices being concatenated are not consistent.’ Any idea/comment is appreciated!
Best Answer