I have a long 5th degree polynomial in S with numerator and denominator expressions. It however has several other variables such as R1,L1,L2,C1 so on. I would like to solve the expression for a given input values of the variables R1,L1, etc. The answer will however be still be an equation in S (a transfer function). How do I implement this in matlab.
A simplified example would be as follows:
expression is: R1L2 + L1*C2^2*S + (2L1-C1R1)*S^2
I can give input: R1=1, L1=2, L2=2.5, C1=1.5, C2=3
Then the output will be: 2.5 + 18S + 2.5S^2
the end goal is to be able perform ilaplace and fplot on the output (which is supposed to be a transfer function), as shown here. I am guessing that means the output expression above needs to be in or converted to symbolic form for me to do rest of the operations.