how to write the command for numerator and denominator polynomial coefficients
Afficher commentaires plus anciens
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 commentaires
David Goodmanson
le 23 Mai 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
le 23 Mai 2018
I was certain that I had seen someone answer in terms of ones() ??
phoenix
le 23 Mai 2018
Walter Roberson
le 23 Mai 2018
num = [1, zeros(1,n1)];
den = [1, zeros(1,n2)];
tf(num, den)
phoenix
le 23 Mai 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Polynomials dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!