## Power spectrum

Purpose

Description

Macro Synopsis

Modules

Related Functions

### Purpose

Power spectrum

### Description

"Power spectrum" computes the power spectrum or power spectral density according to the Wiener-Khintchine theorem

of the given signal x, where denotes the Autocorrelation function of x.
Internally, the power spectrum is computed by performing a Fast Fourier Transform within a window slided along the signal.

Parameters of "Power spectrum" are

- window length N in samples
- window overlap M in samples.

Note: The type of window function and type of Fast Fourier Transform can be adjusted in the Basic Options menu under **Fourier**.
**Warning:** *Note that y(0) is suppressed in order to avoid its large values dominating the result.*

### Macro Synopsis

`y = PowerSpect(x,N,M);`

signal x,y;

int N,M;

### Modules

Spectral

### Related Functions

Amplitude spectrum, Phase spectrum.