|
From: | Rik |
Subject: | Re: polar (i) |
Date: | Wed, 2 Dec 2015 14:01:53 -0800 |
On 12/02/2015 01:03 PM,
address@hidden wrote:
I'm pretty sure Octave did not make up this weird convention, but was following Matlab's lead. The polar plot function expects polar (theta, rho) so I think Matlab went with theta + rho*j as the way to encapsulate the two pieces of information in a single complex number. If you look at the function compass the documentation specifically says that compass (Z) = compass (real (Z), imag (Z)). This is in keeping with polar (Z) = polar (real (Z), imag (Z)) == polar (theta, rho). --Rik |
[Prev in Thread] | Current Thread | [Next in Thread] |