Average of vector/scalar fields
AF = averf(F) returns the average of the vector/scalar fields F.
AF is a field of the same type as F, whose elements are the average
of the elements of the fields F.
Depending on the nature of the fields F, the field averf(F) is usually
called "Ensemble average", "Phase average", or "Time average".
By default, averf considers that the zero elements of F are erroneous,
and does not include them in the computations. If however you want to
force the zero elements to be included in the computations, specify
[AF RMS FR] = averf(F,..) also returns the RMS field and the
fluctuation rate field of the vector/scalar fields F.
- RMS is a scalar field, whose elements are the rms of the elements
of the fields F.
- FR is a scalar field, whose elements are the local RMS normalized
by the local norm of AF.
If no output argument is specified, the average field AF is displayed.
v = loadvec('*.vc7');
[af rms fr]=averf(vec2scal(v,'uy'));
averf *.vc7 % shows the average of the fields matching *.vc7
smoothf, spaverf, subaverf, azaverf, phaseaverf
Published output in the Help browser
2005-2015 PIVMat Toolbox 3.03