MATLAB program to plot zeros and poles of z-transform

Program Code
%Plotting zeros and poles of z-transform
clc;
close all;
clear all;
disp('For plotting poles and zeros');
b=input('Input the numerator polynomial coefficients');
a=input('Input the denominator polynomial coefficients');
[b,a]=eqtflength(b,a);
[z,p,k]=tf2zp(b,a);
zplane(z,p);
disp('zeros');
disp(z);
disp('poles');
disp(p);
disp('k');
disp(k);



Example of Output
For plotting poles and zeros
Input the numerator polynomial coefficients[1 2 3 4]
Input the denominator polynomial coefficients[1 2 3]
zeros
  -1.6506          
  -0.1747 + 1.5469i
  -0.1747 - 1.5469i

poles
        0          
  -1.0000 + 1.4142i
  -1.0000 - 1.4142i

k

     1



________________________________

4 comments:

  1. I am sure this paragraph has touched all the internet people, its really really
    good post on building up new webpage.

    ReplyDelete
    Replies
    1. Respected Sir,
      Thank you very much. I am greatly obliged to you. May you, your family and your friends stay healthy and happy.

      Delete
  2. I read this article fully about the comparison of
    most recent and preceding technologies, it's remarkable article.

    ReplyDelete
    Replies
    1. Respected Sir,
      I am the author of this article. I thank you very much for encouraging me with these kind words. I also thank you for spending your valuable time to read this article. I am greatly obliged to you.
      I wish you all happiness and good health during your entire lifetime..
      May all friends, relatives and well-wishers of you, always stay happy and healthy.
      - Anju K

      Delete

Please write your opinion about this MATLAB program here, only in English.

For sale

For sale
Indian currency Ten-rupee note in good condition. Issued by the Reserve Bank of India between 22 December 1992 and 21 December 1997. Serial number 52T332603 . Those interested to buy, please contact: Anju K, Email: tc9749@gmail.com . Address: 'Sreyas', House no.7/296, Pulliodi, Kathiroor village, Ponniam east PO, via Ponniam west, Thalassery, Kannur, Kerala - 670641, India.