I have to solve this polynomium: to . So, I know that to solve this equation I have to replace the s to get
Therefore, the real and imaginary parts will be zero and we have and
So, to solve this in matlab, I write this code:
syms s k wden = s^3 + 9*s^2 + 14*s + 126assume([ k> 0,w >0])solw = solve(imag(den)==0, w)den = subs(den, w, solw)solk = solve(den==0, k)
Then, this code work well, but if I change the polynomial degree I will have to change the parameters of solve function. So I to know if there is a more generic way to solve this equations
Thanks for reading
Best Answer