Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

how can find angle for symbolic function

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

2 Comments

ahmed fawzy on 23 Oct 2012

please if any one know answer reply quikly

Walter Roberson on 23 Oct 2012

Please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags

ahmed fawzy

Tags

Products

No products are associated with this question.

1 Answer

Answer by Matt Fig on 23 Oct 2012

The angle is just:

ANG = atan(imag(r2s)/real(r2s));

4 Comments

Muruganandham Subramanian on 23 Oct 2012

can we use angle() command?..

Matt Fig on 23 Oct 2012

Not in 2011b. The ANGLE function calls ATAN2, which is not defined for symbolics.

john on 6 Mar 2013

In witch version can by used angle for symbolics?

Matt Fig

Contact us