<< frpowerspec Frequency-Domain Processing iffmt >>

Time Frequency Toolbox >> Time Frequency Toolbox > Frequency-Domain Processing > frspec

frspec

Computes the spectrum of the signal

Calling Sequence

[SP,F]=frspec(X)
[SP,F]=frspec(X,T)
[SP,F]=frspec(X,T,H)
[SP,F]=frspec(...,'plot')

Parameters

X :

signal (in time) to be analyzed.

N :

number of frequency bins (default : length(X)).

H :

analysis window, (default : Rect(length(X)).

'plot':

if one input parameter is 'plot', the window will be plotted

SP:

spectrum of the signal

F :

Normalized frequency vector

Examples

sig=fmlin(128,0.1,0.4);
frspec(sig,'plot');

Authors

<< frpowerspec Frequency-Domain Processing iffmt >>