SPECTRAL DENSITY – [DENSP]
Outputs the spectral density of a signal.
CATEGORY
Spectral analysis
DESCRIPTION
Output the spectral density plot in function of an input signal. Windowing is used for sampling
RESULT VARIABLES AND PARAMETERS
Result | Spectral density result |
Signal | Input signal |
Window | Type of windowing applied to the analyzed samples. Refer to the beginning of Spectral analysis category to have a short description. [0: Rectangular,1: Hanning, 2: Hamming, 3: Blackman] |
SYNTAX
res=densp(y,2)
CHARACTERISTICS
Data type support
Double Floating point
EXAMPLE
Spectral analysis of a 15 Hz and 28 Hz sinusoidal sum.