@FUNCTION=periodogram
![](/@@/translation-newline)
@SYNTAX=periodogram(ordinates,[filter,[abscissas,[interpolation,[number]]]])
![](/@@/translation-newline)
@DESCRIPTION=
![](/@@/translation-newline)
periodogram returns the periodogram of the data
![](/@@/translation-newline)
as a one column matrix.
![](/@@/translation-newline)
@ordinates are the ordinates of the data to interpolate.
![](/@@/translation-newline)
@filter gives the window function to be used. Possible values are:
![](/@@/translation-newline)
- 0: no filter (rectangular window);
![](/@@/translation-newline)
- 1: Bartlett (triangular window);
![](/@@/translation-newline)
- 2: Hahn (cosine window);
![](/@@/translation-newline)
- 3: Welch (parabolic window);
![](/@@/translation-newline)
@abscissas are the absicssas of the data to interpolate. If no
![](/@@/translation-newline)
abscissa is given, it is supposed that the data absicssas are regularly
![](/@@/translation-newline)
spaced. Otherwise, an interpolation method will be used to evaluate
![](/@@/translation-newline)
regularly spaced data.
![](/@@/translation-newline)
* Strings and empty cells in @abscissas and @ordinates are simply ignored.
![](/@@/translation-newline)
@interpolation is the method to be used for the interpolation;
![](/@@/translation-newline)
possible values are:
![](/@@/translation-newline)
- 0: linear;
![](/@@/translation-newline)
- 1: linear with averaging;
![](/@@/translation-newline)
- 2: staircase;
![](/@@/translation-newline)
- 3: staircase with averaging;
![](/@@/translation-newline)
- 4: natural cubic spline;
![](/@@/translation-newline)
- 5: natural cubic spline with averaging.
![](/@@/translation-newline)
@number is the number of interpolated data to be used. If not given,
![](/@@/translation-newline)
a default number is automatically evaluated.