how can find angle for symbolic function

2 views (last 30 days)
ahmed fawzy
ahmed fawzy on 23 Oct 2012
syms r2s r2ext F Text
r2=r2s+((1-(r2s).^2).*r2ext.*exp(-j*2*pi.*F.*Text));

Answers (1)

Matt Fig
Matt Fig on 23 Oct 2012
The angle is just:
ANG = atan(imag(r2s)/real(r2s));
  4 Comments
Matt Fig
Matt Fig on 23 Oct 2012
Not in 2011b. The ANGLE function calls ATAN2, which is not defined for symbolics.
john
john on 6 Mar 2013
In witch version can by used angle for symbolics?

Sign in to comment.

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!