Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How do I increase the precision of MATLAB?
Date: Sun, 11 Jan 2009 20:40:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 21
Message-ID: <gkdlf3$616$1@fred.mathworks.com>
References: <gkb7mu$4r$1@fred.mathworks.com> <gkdd93$28h$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1231706403 6182 172.30.248.35 (11 Jan 2009 20:40:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 11 Jan 2009 20:40:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1268168
Xref: news.mathworks.com comp.soft-sys.matlab:510859


Thanks for your feedback, folks.

Walter, I could not find the "indefinite precision toolkit" in the MATLAB file exchange; I think you meant the "Multiple Precision Toolbox for MATLAB," correct? Well, instead of downloading it, I first tried the Symbolic Math Toolbox, and it seems to work. Thanks again.

Here's a sample input/output:
------------------------------------------------------------------

>> z = sym(2.225167162095353e+003 -9.020383145678592e+002i,'r')
 
z =
 
(4893194336938328*2^(-41))-(7934412924534611*2^(-43))*i
 
 
>> w = vpa(exp(i*z),12)
 
w =
 
.341079112224e392+.447521267216e392*i

------------------------------------------------------------------