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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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));

*No products are associated with this question.*

Answer by Matt Fig
on 23 Oct 2012

The angle is just:

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

Show 1 older comment

Matt Fig
on 23 Oct 2012

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

## 2 Comments

## ahmed fawzy

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/51588#comment_106666

please if any one know answer reply quikly

## Walter Roberson

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/51588#comment_106764

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