Polynomial in S domain shows zero values
Afficher commentaires plus anciens
I was creating a script file for a MATLAB simulink model I was tasked to design for my university assignment. While I was eperimenting with my lecturer's sample codes, I noticed that when defining a polynomial (den) the values shows up as zero except for the final value which doesn't have any variable multiplications. But the transer function shows up fine as shown in the imae below, also the values show up correctly when typed outside of the matrix (R*C). Why does MATLAB shows the values of the polynomial as zero ?

Réponses (1)
David Goodmanson
le 2 Mar 2019
Modifié(e) : David Goodmanson
le 2 Mar 2019
Hi Dushan,
this is merely a display issue because L*C and R*C are so small compared to 1. Try the same thing with
format short g
den = [L*C R*C 1]
and then format will revert back to the usual display format if needed.
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!