Polynomial in S domain shows zero values
1 view (last 30 days)
Show older comments
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 ?
0 Comments
Answers (1)
David Goodmanson
on 2 Mar 2019
Edited: David Goodmanson
on 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.
0 Comments
See Also
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!