Real and Imaginary part of this function please
6 views (last 30 days)
Show older comments
Paramonte on 5 Jun 2019
Commented: Paramonte on 6 Jun 2019
Hi there, I have this expression:
syms R C w a real
R/(C*R*(w*1i)^a + 1)
I want to get the real part of Z
R*real(1/(C*R*(w*1i)^a + 1))
and the imaginary part of Z
R*imag(1/(C*R*(w*1i)^a + 1))
How do I get the true real and Imaginary parts?
Thank you for your time!
Walter Roberson on 5 Jun 2019
simplify( rewrite(real(z), 'exp') )
simplify( rewrite(imag(z), 'exp') )
More Answers (0)
Find more on Logical 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!