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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -