Code covered by the BSD License  

Highlights from
PIVMat 3.02

image thumbnail

PIVMat 3.02

by

 

27 Apr 2006 (Updated )

A PIV Post-processing and data analysis toolbox

subaverf (PIVMat Toolbox)
subaverf (PIVMat Toolbox)
PIVMat Function Reference<< Prev | Next >> 
subaverf
Subtract the ensemble or spatial average of a field

Description
FF = subaverf(F) subtracts the 'ensemble average' from the 
vector/scalar fields F. It subtracts from each F the field averaged 
over all F, as computed from averf. The field subtracted therefore 
corresponds to an 'ensemble' or 'temporal' average (it is not a spatial 
average). 
 
FF = subaverf(F,AXIS) subtracts the spatial average (computed by 
spaverf), averaged over the direction AXIS, where AXIS='X', 'Y' or 
'XY'. 
 
If no output argument, the result is displayed by showf. 
 
Example
 
  v = loadvec('*.VC7'); 
  showf(subaverf(v)); 
 
Note: To subtract both an ensemble average and a spatial average, use 
FF = operf('-', F, averf(spaverf(F,'...'))); 
 
See Also
averf, spaverf, azaverf. 
 
Published output in the Help browser 
   showdemo subaverf 

 Previous: stresstensorNext: subsbr 

2005-2013 PIVMat Toolbox 3.02

Contact us