how to write the command for numerator and denominator polynomial coefficients
Show older comments
I want to find the transfer function. how to write the command for numerator and denominator polynomial coefficients: num=[1 0 .......0 n1];?? den=[1 0......0 n2];?? for a large n1=500,n2=890.
5 Comments
David Goodmanson
on 23 May 2018
Hi phoenix, this is really a case where you should go to the help for polyval and possibly the documentation for polyval. It shows all you need to know to do this.
Walter Roberson
on 23 May 2018
I was certain that I had seen someone answer in terms of ones() ??
phoenix
on 23 May 2018
Walter Roberson
on 23 May 2018
num = [1, zeros(1,n1)];
den = [1, zeros(1,n2)];
tf(num, den)
phoenix
on 23 May 2018
Accepted Answer
More Answers (0)
Categories
Find more on Polynomials in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!