[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
- ceil /tools/hpmatlab/toolbox/matlab/elfun/ceil.m
- conj /tools/hpmatlab/toolbox/matlab/elfun/conj.m
- conv /tools/hpmatlab/toolbox/matlab/datafun/conv.m
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- elseif /tools/hpmatlab/toolbox/matlab/lang/elseif.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- error /tools/hpmatlab/toolbox/matlab/lang/error.m
- exp /tools/hpmatlab/toolbox/matlab/elfun/exp.m
- fft /tools/hpmatlab/toolbox/matlab/datafun/fft.m
- gca /tools/hpmatlab/toolbox/matlab/graphics/gca.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- length /tools/hpmatlab/toolbox/matlab/general/length.m
- max /tools/hpmatlab/toolbox/matlab/datafun/max.m
- nargchk /tools/hpmatlab/toolbox/matlab/lang/nargchk.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- nargout /tools/hpmatlab/toolbox/matlab/elmat/nargout.m
- newplot /tools/hpmatlab/toolbox/matlab/graphics/newplot.m
- ones /tools/hpmatlab/toolbox/matlab/elmat/ones.m
- pi /tools/hpmatlab/toolbox/matlab/elmat/pi.m
- plot /tools/hpmatlab/toolbox/matlab/plotxy/plot.m
- real /tools/hpmatlab/toolbox/matlab/elfun/real.m
- set /tools/hpmatlab/toolbox/matlab/graphics/set.m
- size /tools/hpmatlab/toolbox/matlab/general/size.m
- sqrt /tools/hpmatlab/toolbox/matlab/elfun/sqrt.m
- xlabel /tools/hpmatlab/toolbox/matlab/plotxy/xlabel.m
- ylabel /tools/hpmatlab/toolbox/matlab/plotxy/ylabel.m
- zeros /tools/hpmatlab/toolbox/matlab/elmat/zeros.m
This function is called by
- decimate /tools/hpmatlab/toolbox/signal/decimate.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON