[Master Index] [Index for /tools/hpmatlab/toolbox/signal]

grpdelay

(/tools/hpmatlab/toolbox/signal/grpdelay.m)


Function Synopsis

[gd_out,w_out] = grpdelay(b,a,n,dum,Fs)

Help text

GRPDELAY Group delay of a digital filter.
	[Gd,W] = GRPDELAY(B,A,N) returns length N vectors Gd and W
	containing the group delay and the frequencies (in radians) at which it 
	is evaluated. Group delay is -d{angle(w)}/dw.  The frequency
	response is evaluated at N points equally spaced around the
	upper half of the unit circle.   When N is a power of two,
	the computation is done faster using FFTs.  If you don't specify
	N, it defaults to 512.

	GRPDELAY(B,A,N,'whole') uses N points around the whole unit circle.  

	[Gd,F] = GRPDELAY(B,A,N,Fs) and [Gd,F] = GRPDELAY(B,A,N,'whole',Fs)
	given sampling frequency Fs in Hz return a vector F in Hz.

	Gd = GRPDELAY(B,A,W) and Gd = GRPDELAY(B,A,F,Fs) return the group delay
	evaluated at the points in W (in radians) or F (in Hz), where Fs is the
	sampling frequency in Hz.

	GRPDELAY(B,A,...) with no output arguments plots the group delay versus
	normalized frequency (Nyquist == 1) in the current figure window.

	See also FREQZ.

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON