% -*- 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