<< parafrep Frequency-Domain Processing tftb_fft >>

Time Frequency Toolbox >> Time Frequency Toolbox > Frequency-Domain Processing > sgrpdlay

sgrpdlay

Group delay estimation of a signal.

Calling Sequence

[GD,FNORM]=sgrpdlay(X)
[GD,FNORM]=sgrpdlay(X,FNORM)

Parameters

X :

signal in the time-domain.

FNORM :

normalized frequency. By default, FNORM is a linearly spaced vector between -0.5 and 0.5 with length(X) elements.

GD :

computed group delay. When GD equals zero, it means that the estimation of the group delay for this frequency was outside the interval [1 xrow], and therefore meaningless.

Description

sgrpdlay estimates the group delay ofsignal X at the normalized frequency(ies) FNORM.

Examples

N=128; x=amgauss(N,64,30).*fmlin(N,0.1,0.4);
fnorm=0.1:0.04:0.38; gd=sgrpdlay(x,fnorm);
t=2:N-1; instf=instfreq(x,t);
plot(t,instf,gd,fnorm); a=gca();a.data_bounds=([1 N 0 0.5]);

Authors

<< parafrep Frequency-Domain Processing tftb_fft >>