PIVMat Function Reference<< Prev | Next >> 
tempspecf
Temporal power spectrum of vector / scalar fields

Description
tempspecf(V, FS) plots the temporal power transform, spatially averaged, 
of the time series of vector or scalar fields V.  FS is the sampling 
frequency, in Hz (1 Hz by default). The maximum frenquency is half the 
sampling frequency (Niquist theorem). 
 
tempspecf(V, FS, 'Property1', 'Property2', ...) specify the properties: 
 - 'hann':   uses a Hann apodization. 
 - 'peak': also shows the frequency and index of the peaks. 
 - 'doublex' or 'doubley': counts twice the energy spectrum for the x 
   (or y) velocity component (in case of statistical axisymmetry). 
 
[F, E] = tempspecf(...) returns the result without display, where F is 
the frequency (in Hz) and E the energy density. 
 
Example
 
  tempspecf (v(2:end), 2, 'hann', 'peak'); 
 
Parseval theorem verification: 
  [f,e] = tempspecf(v,1); 
  energy_spectral = sum(e)*f(2); 
  [sx, sy] = statf(v); 
  energy_physical = sx.rms.^2 + sy.rms.^2; 
 
See Also
specf. 
 
Published output in the Help browser 
   showdemo tempspecf 

 Previous: surfheightNext: truncf 

2005-2010 PIVMat Toolbox 2.00