Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: syntax for polar complex numbers
Date: Tue, 3 Nov 2009 16:41:03 +0000 (UTC)
Organization: Federal Energy Regulatory Commission
Lines: 8
Message-ID: <hcpmeu$h1o$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257266463 17464 172.30.248.37 (3 Nov 2009 16:41:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 3 Nov 2009 16:41:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1782375
Xref: news.mathworks.com comp.soft-sys.matlab:582089


Anyone know what the syntax is for a polar complex number?  I don't see anything about that in the help or in previous newsgroup postings.

Let's say I have a voltage with a magnitude of 1 p.u. and an angle of 0.0045 radians, and I want to input that as a complex phasor (a complex number with the same magnitude and phase angle) so that I can do some complex number computations.  How would I do that?

Obviously I can convert it to rectangular format in input it as X + Yi, but that is very inconvenient.  Is there a way to input it directly as a polar complex number?

Thanks,
Tom