I have defined the following complex system:
syms x
sys(x) = ((10+1.*i.*x))/(20+(5.*i.*x)+((10.*i.*x).^2))+((1.*i.*x).^3);
ImaginaryPart = imag(sys)
MATLAB returned the following results:
ImaginaryPart(x) =
- real(x^3) + imag((10 + x*1i)/(- 100*x^2 + x*5i + 20))
RealPart(x) =
- real(x^3) + imag((10 + x*1i)/(- 100*x^2 + x*5i + 20))
Now for which value of x will ImaginaryPart(x) be 0?
(i.e. ImaginaryPart(x)= 0)?
As @AndrasDeak commented, solve will do the trick for you:
S = solve(ImaginaryPart(x)== 0,x);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With