On Thu, Sep 29, 2011 at 3:43 AM, Jurgen Defurne
<address@hidden> wrote:
Dear all,
I am busy learning poles and zeros, and I have the following function:
1((1 - lz^-1)(1 - l*z^-1))
where l and l* are a conjugate pole pair.
If I create two column vectors B and A:
B A
0 0.5+0.5i
0.5-0.5i
and use zplane(B,A) I get what I expect.
However, when I use freqz, instead of a low-pass filter
response I get a resonator response with one sharp peak.
I do not (really) think that freqz is incorrect, but more
that it is not really clear how to go about using zfreq.
I added some small sample code.
B = [ 0 ];
A = [ 0.5 - 0.5i;0.5 + 0.5i];
figure;
zplane(B,A);
figure;
freqz(B,A);
Recreating this pole/zero plot with a small program call IIR
Explorer, I get a low-pass function.
Regards,
Jurgen
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
You are not understanding the difference between Laplace space (continuous time space) and Z space (discrete time space)
Your function is not a lowpass in Z space.