PIVMat Function Reference<< Prev | Next >> 
spaverf
Spatial average over X and/or Y of a vector/scalar field

Description
FF = spaverf(F) computes the spatial average of the vector/scalar 
field F.  FF is a uniform vector/scalar field. If F is an array of 
fields, spaverf(F) computes the individual spatial average of each 
field. 
 
FF = spaverf(F,AXIS) averages over the AXIS direction, where AXIS is 
'X', 'Y' or 'XY'. Default is 'XY'.  FF is a vector/scalar field uniform 
in the AXIS direction. 
 
By default, spaverf 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 
spaverf(F,'0'). 
 
If no output argument, the result is displayed by showvec or showscal. 
 
See Also
smoothf, averf, subaverf, azaverf. 

 Previous: smoothfNext: spec2f 

2005-2009 PIVMat Toolbox 1.90