Thank you, I got the point.
"Florin Neacsu" <fneacsu2@gmail.com> wrote in message <infup1$9ld$1@fred.mathworks.com>...
> "Liana" wrote in message <inftje$ii2$1@fred.mathworks.com>...
> > Hello,
> >
> > I need to compute the inverse cosine (in degrees) for x = 1.44. However, the function 'acosd' returns the complex number, because x>1. Does anybody know the builtin function to transform a complex number to degrees?
> > x = 1.44;
> > angle = acosd(x)
> >
> > angle = 0 + 51.74i
>
> Hi
>
> >Does anybody know the builtin function to transform a complex number to degrees?
>
> I can't speak for everyone, but I surely don't.
>
> If z is a comples number you can write z=r*exp(i*phi). So you have a radius and an angle (geometrical interpretation). I think phase/angle can give you the angle in radians (N.B. be careful at your variables names. angle is a matlab function).
>
> Also if you have a look at acos you will see how the cos^{1} is defined (acosd = 180/pi*acos actually)
>
> Hope it helps,
> Florin
