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: Inaccurate number in array
Replies: 5   Last Post: Feb 18, 2013 12:03 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
dpb

Posts: 8,164
Registered: 6/7/07
Re: Inaccurate number in array
Posted: Feb 15, 2013 2:19 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 2/15/2013 1:17 PM, nallekavn wrote:
> Hi,
>
> I experience what seems to be a precision-related problem. The value 1.3
> as calculated for instance in the 14th position of 0:0.1:2 is not equal
> to 1.3.

...

> Does anyone have an idea how to fix this?

See the FAQ...

<http://matlab.wikia.com/wiki/FAQ#Why_is_it_advised_to_avoid_using_the_.22eval.22_function.3F>

--




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.