Code covered by the BSD License  

Highlights from
PIVMat 3.02

image thumbnail

PIVMat 3.02


Frederic Moisy (view profile)


27 Apr 2006 (Updated )

A PIV Post-processing and data analysis toolbox

averf (PIVMat Toolbox)
averf (PIVMat Toolbox)
PIVMat Function Reference<< Prev | Next >> 
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')); 
   showf(fr,'clim',[0 1]); 
   averf *.vc7      % shows the average of the fields matching *.vc7 
See Also
smoothf, spaverf, subaverf, azaverf, phaseaverf 
Published output in the Help browser 
   showdemo averf 

 Previous: addnoisefNext: azaverf 

2005-2013 PIVMat Toolbox 3.02

Contact us