Polynomial in S domain shows zero values

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 ?
Capture.PNG

Answers (1)

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.

Categories

Products

Release

R2018b

Asked:

on 2 Mar 2019

Edited:

on 2 Mar 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!