[Master Index]
[Index for /tools/hpmatlab/toolbox/signal]
freqz
(/tools/hpmatlab/toolbox/signal/freqz.m)
Function Synopsis
[hh,ff] = freqz(b,a,n,dum,Fs)
Help text
FREQZ Z-transform digital filter frequency response.
When N is an integer, [H,W] = FREQZ(B,A,N) returns the N-point frequency
vector W in radians and the N-point complex frequency response vector H
of the filter B/A:
-1 -nb
jw B(z) b(1) + b(2)z + .... + b(nb+1)z
H(e) = ---- = ----------------------------
-1 -na
A(z) 1 + a(2)z + .... + a(na+1)z
given numerator and denominator coefficients in vectors B and A. The
frequency response is evaluated at N points equally spaced around the
upper half of the unit circle. If N isn't specified, it defaults to 512.
[H,W] = FREQZ(B,A,N,'whole') uses N points around the whole unit circle.
H = FREQZ(B,A,W) returns the frequency response at frequencies
designated in vector W, in radians (normally between 0 and pi).
[H,F] = FREQZ(B,A,N,Fs) and [H,F] = FREQZ(B,A,N,'whole',Fs) given a
sampling freq Fs in Hz return a frequency vector F in Hz.
H = FREQZ(B,A,F,Fs) given sampling frequency Fs in Hz returns the
complex frequency response at the frequencies designated in vector F,
also in Hz.
FREQZ(B,A,...) with no output arguments plots the magnitude and
unwrapped phase of B/A in the current figure window.
See also FILTER, FFT, INVFREQZ, FREQS and GRPDELAY.
Cross-Reference Information
This function calls
- abs /tools/hpmatlab/toolbox/matlab/elfun/abs.m
- angle /tools/hpmatlab/toolbox/matlab/elfun/angle.m
- axes /tools/hpmatlab/toolbox/matlab/graphics/axes.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
- log10 /tools/hpmatlab/toolbox/matlab/elfun/log10.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
- pi /tools/hpmatlab/toolbox/matlab/elmat/pi.m
- plot /tools/hpmatlab/toolbox/matlab/plotxy/plot.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
- subplot /tools/hpmatlab/toolbox/matlab/graphics/subplot.m
- unwrap /tools/hpmatlab/toolbox/matlab/datafun/unwrap.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
- filtdemo /tools/hpmatlab/toolbox/signal/filtdemo.m
- pez ee2200/pez.m
- sosdemo /tools/hpmatlab/toolbox/signal/sosdemo.m
- yulewalk /tools/hpmatlab/toolbox/signal/yulewalk.m
- zp2sos /tools/hpmatlab/toolbox/signal/zp2sos.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON