how to write the command for numerator and denominator polynomial coefficients
Mostrar comentarios más antiguos
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 comentarios
David Goodmanson
el 23 de Mayo de 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
el 23 de Mayo de 2018
I was certain that I had seen someone answer in terms of ones() ??
phoenix
el 23 de Mayo de 2018
Walter Roberson
el 23 de Mayo de 2018
num = [1, zeros(1,n1)];
den = [1, zeros(1,n2)];
tf(num, den)
phoenix
el 23 de Mayo de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Polynomials en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!