A1=zeros (43, 1);
XJ=A (:, 2);
XJ1=mean (XJ);
JFC=STD (XJ);
% % determine thresholdD1=XJ1 + (JFC * 3);
For I=1
If k (I, 1) & lt; D1==0
Elseif k (I, 1) & gt; D1==1
End
End
How do I use a for loop statement, when I for the first column is greater than the threshold as a vice as 0, 1 has been to 43, extracted from the calculation results on the A1, MATLAB newcomer small white,