hi,
I have used this code here:
for i=1:length(data8(:,1))if(data8(i,8)>1.1)data8(i,:) = [];endif(data8(i,8)<0.9)data8(i,:) = [];endend
where data 8 is a matrix with 8 columns, and I get this error message:
Index exceeds matrix dimensions.
Error in construct_data (line 43) if(data8(i,8)>1.1)
has anybody an idea why this can happen?
Best Answer