H = histf(F) computes the histogram H of the field(s) F into 100
equally spaced bin. The appropriate range of bins is estimated from the
rms of the first field.
H = histf(F,BIN) computes the histograms among the bins specified by
the vector BIN. BIN can be in the form LINSPACE(-X,X,N).
If F is a vector field, use [HX, HY] = histf(F,..) to compute the
histogram for each component of the vector field.
[...,BIN] = histf(...) also returns the bins vector BIN used for the
computation of the histogram. This is useful if BIN is estimated by
histf itself.
By default, histf considers the values 0 as erroneous, and does not
include them in the histogram. If however the values 0 are to be
included, specify histf(...,'0');
Example
v = loadvec('*.vc7');
semilogy(histf(vec2scal(v,'rot')));
See Also
histscal_disp, statf, corrf, vsf.
Published output in the Help browser
showdemo histf