Removing extreme values from a Matrix in MATLAB -
i have matrix x-y data points:
a= [x1 , y1; x2 , y2; x3 , y3]
and want remove selected points (rows) y value above deviation average.
how can ?
thank you, ron
here seem need:
a(abs(a(:,2)-mean(a(:,2)))>treshold,:) = []
if want can let treshold
1.234*std(a(:,2))
Comments
Post a Comment