Group delay estimation of a signal
[GD,FNORM] = sgrpdlay(X) [GD,FNORM] = sgrpdlay(X, FNORM)
signal in the time-domain.
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.
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.
sgrpdlay estimates the group delay of signal X at the normalized frequency(ies) FNORM.
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'); | ![]() | ![]() |