David Dorran used a nice GUI for dragging zeros and poles. A little bit more advanced version of this GUI is now available at MathWorks file exchange server (Matlab). The name is 'z-Tools'.
It's matlab code which was originally developed by Tom Krauss of perdue. I've posted my version on my dadorran wordpress blog - See 4:40 (links not allowed in posts unfortunately). .See 4:40
If you want to see the (1) impulse response and the (2) step response of the above system (or any system defined in terms of z) you can use the following Matlab code: H = tf([1 0 0],[1 -1.3 0.7], 0.01); figure(1); subplot(121); bode(H); subplot(122); pzmap(H); figure(2); subplot(121); impulse(H); title('Impulse response'); subplot(122); step(H); title('Step response'); Hope it helps!
Can I add a data of gains(magnitudes) and frequency to this GUI and then see the effect of adding poles and zeros for the system I have(system created from gains and freq I have). Also is there a way to edit the transfer functions that are being used? Thank you
Here is matlab code W=0:pi/60:pi; H=j*w; M=abs(H); B=[2,-2]; A=[1,1]; H1=freqz(B,A,W); M1=abs(H1); Figure Plot(W,M,’k’,w,M1,’r’); Shall I get Python equivalent?
How did you insert magnitude response into the GUI? I'm doing a GUI where the user enters a signal, poles and zeros and gets the filters' response and the results of filter signal convolution. However, I do not know how to plot the filters response; using fvtool opens a new window please please help!
+David Dorran Thank you soooo much!! it worked! I was trying with freqz but I did not think to use the same inputs I used for the filters!! thanks a lot :)
This is the best illustration of the poles and the zeros in terms of the magnitude response I've ever seen! :D you rock!
David Dorran used a nice GUI for dragging zeros and poles. A little bit more advanced version of this GUI is now available at MathWorks file exchange server (Matlab). The name is 'z-Tools'.
awesome, having an exam tomorrow, better to find this now than never! I've been looking for it since a while thank you soo much :):)
Thank you so much! I can't emphasis enough how useful this was for me.
THE BEST LECTURE THAT EVER SEEN...!
super nice demo thank you so much
wow, great explanation and tool!
Nice to hear an Irish accent. Thanks for the vid.
This was a great example!
It's matlab code which was originally developed by Tom Krauss of perdue. I've posted my version on my dadorran wordpress blog - See 4:40 (links not allowed in posts unfortunately). .See 4:40
Best video ever. Cleared all of my confusions, hats off to you sir!
Thank you for your efforts in helping us all!
If you want to see the (1) impulse response and the (2) step response of the above system (or any system defined in terms of z) you can use the following Matlab code:
H = tf([1 0 0],[1 -1.3 0.7], 0.01);
figure(1);
subplot(121);
bode(H);
subplot(122);
pzmap(H);
figure(2);
subplot(121);
impulse(H); title('Impulse response');
subplot(122);
step(H); title('Step response');
Hope it helps!
Take a look at the video entitled "Z-Domain System View - Mathematical Perspective"
okay sir
wow 2012 vs now... look at how far we have come in stuff like MATLAB, we should make use of the brilliant tools we have to visualise these things
great software, thanks a bunch!
Thank You for Your work
Awesome content, thanks for your videos.
Thank you for the video :). Also the code helped to understand the concept alot more
Can I add a data of gains(magnitudes) and frequency to this GUI and then see the effect of adding poles and zeros for the system I have(system created from gains and freq I have). Also is there a way to edit the transfer functions that are being used?
Thank you
Can you make similar links for the phase frequency response ?
Thank you so much!
man this is awesome! thank you so much.
BRILLIANT!
Here is matlab code
W=0:pi/60:pi;
H=j*w; M=abs(H);
B=[2,-2];
A=[1,1];
H1=freqz(B,A,W);
M1=abs(H1);
Figure
Plot(W,M,’k’,w,M1,’r’);
Shall I get Python equivalent?
How do you get the poles and zeroes from the difference equation?
How did you insert magnitude response into the GUI? I'm doing a GUI where the user enters a signal, poles and zeros and gets the filters' response and the results of filter signal convolution.
However, I do not know how to plot the filters response; using fvtool opens a new window
please please help!
+teema ciba [b a] = butter(3,0.2);
H = freqz(b,a);
plot(abs(H))
+David Dorran Thank you soooo much!! it worked! I was trying with freqz but I did not think to use the same inputs I used for the filters!!
thanks a lot :)
Please tell me what to do after downloading the files from dropbox
If poles are outside the unit circle, than what will be the response then?
Ali Ahmad The system will be unstable
Maham, as z=r*e^jw , kindly tell me what is the value of r for this particular system.
can you make a video with impulse response instead of the magnitude response
ruclips.net/video/-BXrYfPFjVk/видео.html
What is the filter type @7:27 ?
your bad handwriitng makes me relate.
thanks.
Your voice is very similar to JAMES MORIARTY.
help us please with the programming
engineer approved
(y) indeed
Thank you so much!