octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: polar(i)


From: Mike Miller
Subject: Re: polar(i)
Date: Wed, 2 Dec 2015 10:52:10 -0500
User-agent: Mutt/1.5.24 (2015-08-30)

On Wed, Dec 02, 2015 at 06:51:19 -0800, Muhali wrote:
> I meant it the other way round, of course. polar(i) should be at (0,1) and
> not at (1,0).

The help text for polar says that a complex value is interpreted such
that real(z) is the angle and imag(z) is the radius. So polar(i) should
indeed be at (0,1).

Yes, this is contrary to what rational people might expect, but my
understanding is it is intended to match undocumented Matlab behavior.

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]