Histogram of a vector/scalar field
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 2-components vector field, use [HX, HY] = histf(F,..) to
compute the histogram for each component of the vector field.
Similarly, if F is a 3-components vector field, use
[HX, HY, HZ] = histf(F,..)
[...,BIN] = histf(...) also returns the bins vector BIN used for the
computation of the histogram. This is useful if BIN is estimated by
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');
v = loadvec('*.vc7');
[h,w] = histf(vec2scal(v,'rot'));
histscal_disp, statf, corrf, ssf, vsf.
Published output in the Help browser
2005-2017 PIVMat Toolbox 4.10