Home > freetb4matlab > irsa > irsa_dftfp.m

irsa_dftfp

PURPOSE ^

% [@var{fxp},@var{Nf},@var{fxps},@var{Nfe}] = irsa_dft (@var{xp},

SYNOPSIS ^

function [fxp, Nf, fxps, Nfe] = irsa_dftfp (xp, hifac, ofac )

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {irsa_dftfp.m}
% [@var{fxp},@var{Nf},@var{fxps},@var{Nfe}] = irsa_dft (@var{xp},
% [@var{hifac}], [@var{ofac}])
%
% Compute frequency points for the Discrete Fourier Transformations of
% irregular sampled time series 
% 
% Input:
%
% @var{xp}   : Columnvector -- sampling points 
%
% @var{hifac}: Scalar -- factor for the amount of higher frequencies
%
% @var{ofac} : Scalar -- factor for the oversampling rate
%
% Output:
%
% @var{fxp}  : Columnvector -- frequency points corresponding to the
% order the DFT or FFT are assuming. 
%
% @var{Nf}   : Scalar -- length of fxp (only a convenience)
%
% @var{fxps} : Columnvector -- frequency points in ascending order
% 
% @var{Nfe}  : Scalar -- true (1) if Nf is even or false (0) if not.
%
% Notice: @var{fxps} and @var{Nfe} are convenient for example for plotting
% spectra: There you may need the frequency series in a sorted order
% and you get it with @code{[fxps, shift(fyp, floor(Nf/2) - Nfe)]}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003