Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: to increase number of digits after decimal place in MATLAB
Replies: 3   Last Post: Dec 9, 2012 7:02 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
John D'Errico

Posts: 9,044
Registered: 12/7/04
Re: to increase number of digits after decimal place in MATLAB
Posted: Dec 9, 2012 5:24 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

dpb <none@non.net> wrote in message <ka2mvr$gdm$1@speranza.aioe.org>...
> On 12/9/2012 12:44 PM, gouri halde wrote:
> > How you can increase precision of answer (a number) in MATLAB? Actually
> > I have to generate a chaotic time series using certain chaotic map. I
> > got the series values but all of them are the same. I think if I could
> > increase the number of digits after the decimal point I may get the
> > minute variation in the series values.I am getting a precision of 4. For
> > a perfect chaotic series I should have (may be)at least equal to 8. I am
> > having a 64 bit operating system.

>
> At the command line
>
> format long % doc format
>
> NB internal precision is double by default so there are roughly 15 bits
> of precision it's only the display that is shortened for (usually)
> convenience.


While I imagine you know this, the precision in MATLAB
is not 15 bits, but a bit over 15 digits.

John



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.