PIVMat Function Reference<< Prev | Next >> 
subaverf
Substract the spatial or ensemble average of a field

Description
FF = subaverf(F) subtracts the spatial average from the vector/scalar 
field F. If F is an array of fields, subaverf(F) subtracts the 
individual spatial average from each field. 
 
FF = subaverf(F,AXIS) subtracts the spatial average (computed by 
spaverf), averaged over the direction AXIS, where AXIS='X', 'Y' or 
'XY'. Default is 'XY'. 
 
FF = subaverf(F,'e') subtracts from each F the field averaged over all 
F, as computed from averf. The field subtracted is an "ensemble" or 
"phase" or "temporal" average. 
 
If no output argument, the result is displayed by showvec or showscal. 
 
Example
  showvec(subaverf(loadset,'e')); 
 
Note: To subtract both an ensemble average and a spatial average, use 
FF = operf('-', F, averf(spaverf(F,'...'))); 
 
See Also
averf, spaverf, azaverf. 

 Previous: statvec_dispNext: surfheight 

2005-2007 PIVMat Toolbox 1.60