<< 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 :

a real vector with elements in [-0.5 0.5]: the normalized frequencies. 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 of signal 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);
clf; plot(t,instf',gd,fnorm');

Authors


Report an issue
<< parafrep Frequency-Domain Processing tftb_fft >>