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

phaseaverf (PIVMat Toolbox)
phaseaverf (PIVMat Toolbox)
PIVMat Function Reference<< Prev | Next >> 
phaseaverf
Phase average of vector/scalar fields.

Description
SF = phaseaverf(F,T), if T is a number, returns the phase average of 
vector/scalar fields F over a period T. 
 
If T is an integer, SF has length T, and is such that: 
  SF(i) = averf(F(i:T:end));   for all i between 1 and T 
 
If T is not an integer, then phaseaverf first performs a re-sampling of 
the data (linear interpolation). The result has length FLOOR(T). 
 
If T is an arbitrary vector, then performs a loop average of period 
T(end), starting from all values of T. 
 
Example
 
  v = loadvec('*.vc7'); 
  sv = phaseaverf(v,linspace(0,4.2,8)); 
  showf(sv); 
 
See Also
averf, smoothf, resamplef 
 
Published output in the Help browser 
   showdemo phaseaverf 

 Previous: operfNext: randvec 

2005-2013 PIVMat Toolbox 3.02

Contact us