Path: news.mathworks.com!not-for-mail
From: "Steven Lord" <slord@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: To display big number in all digits form.
Date: Thu, 19 Mar 2009 13:37:23 -0400
Organization: The MathWorks, Inc.
Lines: 29
Message-ID: <gptvs5$6qg$1@fred.mathworks.com>
References: <gps84r$1e2$1@news.onet.pl> <gptja9$hml$1@news.onet.pl>
Reply-To: "Steven Lord" <slord@mathworks.com>
NNTP-Posting-Host: lords.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1237484229 6992 144.212.105.187 (19 Mar 2009 17:37:09 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 19 Mar 2009 17:37:09 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
Xref: news.mathworks.com comp.soft-sys.matlab:526214



"ZikO" <zebik@op.pl> wrote in message news:gptja9$hml$1@news.onet.pl...
> ZikO wrote:
>> Hi
>>
>> I am afraid I have very unusual problem. I need to show a very very big 
>> number, a Fibonacci(n) series when when n = 1476. It is number of 1.3e308 
>> range. I would like to see this number with all digits. Is it somehow 
>> possible in MATLAB.
>>
>> Thanks you.
>
> I am not sure if I did it correctly. There is a code which calculates 
> Fibonacci series. I used Symbolic Math Toolbox. When i run these commands 
> below:
>
> A = sym(fib(1476));

This is not correct, unless internally your fib function performs its 
calculations symbolically.  If it doesn't, this will compute fib(1476) in 
double precision and then take that double precision result and convert it 
into a symbolic variable.  That's _not_ the same as computing fib(1476) 
using symbolic calculations.

-- 
Steve Lord
slord@mathworks.com