MATLAB: Plot variance of elements in each bin of histogram? -
data: array of real valued numbers. (say xarray)
plot: histogram superimposed plot of variance(/iqr) of elements in each bin.
problem: need variance each bin of 'elements in each bin'. (elements numeric.) can done if there way access elements put in each bin , not 'how many element in each bin (count)'i using matlab
thanks
one solution sort data , divide based on bin width. have access data in each bin perform variance calculation.
Comments
Post a Comment