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

New to MATLAB?

how can find angle for symbolic function

Asked by ahmed fawzy

ahmed fawzy (view profile)

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

ahmed fawzy (view profile)

on 23 Oct 2012

please if any one know answer reply quikly

Walter Roberson

Walter Roberson (view profile)

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

ahmed fawzy (view profile)

Tags

Products

No products are associated with this question.

1 Answer

Answer by Matt Fig

Matt Fig (view profile)

on 23 Oct 2012

The angle is just:

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

4 Comments

can we use angle() command?..

Matt Fig

Matt Fig (view profile)

on 23 Oct 2012

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

john

john (view profile)

on 6 Mar 2013

In witch version can by used angle for symbolics?

Matt Fig

Matt Fig (view profile)

Contact us