Periodogram
Periodogram[list]
plots the squared magnitude of the discrete Fourier transform (power spectrum) of list.
Periodogram[list,n]
plots the mean of power spectra of non-overlapping partitions of length n.
Periodogram[list,n,d]
uses partitions with offset d.
Periodogram[list,n,d,wfun]
applies a smoothing window wfun to each partition.
Periodogram[list,n,d,wfun,m]
pads partitions with zeros to length m prior to the computation of the transform.
Periodogram[{list1,list2,…},n,d,wfun,m]
plots power spectra of several lists.
Periodogram[audio,…]
plots the power spectrum of audio.
Periodogram[{audio1,audio2,…},…]
plots the power spectra of all audioi.
Details and Options
- In Periodogram[list,n,d,wfun], the smoothing window wfun can be specified using a window function that will be sampled between
and
, or a list of length n. The default window is DirichletWindow, which effectively does no smoothing. - Periodogram[list,n] is equivalent to Periodogram[list,n,n,DirichletWindow,n].
- Periodogram works with numeric lists as well as Audio and Sound objects.
- For a multichannel sound object, Periodogram plots power spectra of all channels.
- For real input data, Periodogram displays only the first half of the power spectrum due to the symmetry property of the Fourier transform.
- Compute the effective power spectrum using PeriodogramArray.
- Periodogram takes the following options:
-
FourierParameters {0,1} Fourier parameters SampleRate Automatic the sample rate ScalingFunctions {"Linear","dB"} the scaling function - With the setting SampleRate->r, signal frequencies are shown in the range from 0 to r/2.
- Possible settings for ScalingFunctions include:
-
Automatic automatic scaling None linear scaling for
axis and absolute scaling for
axissy
axis scaling{sx}
axis scaling {sx,sy} different scaling functions for the
and
directions - Possible magnitude scalings sy include:
-
"Absolute" absolute scaling "dB"
decibel scaling (default){f,f-1} arbitrary scaling using the function f and its inverse - Possible frequency scalings sx include:
-
"Linear" linear scaling (default) "Log10"
scaling{f,f-1} arbitrary scaling using the function f and its inverse - The scaling function can be "dB" or "Absolute", which correspond to the decibel and absolute power values, respectively.
- Periodogram also accepts all options of ListLinePlot.
Examples
open allclose allBasic Examples (3)
Power spectrum of a noisy dataset:
Periodogram of a Sound object:
Power spectrum of an Audio object:
Scope (3)
Options (4)
Properties & Relations (1)
Possible Issues (2)
See Also
PeriodogramArray ImagePeriodogram Fourier Spectrogram DirichletWindow FindRepeat