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: -1.#IND00 in matlab
Replies: 13   Last Post: Jan 3, 2013 8:17 AM

Advanced Search

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

Posts: 9,240
Registered: 7/26/08
Re: -1.#IND00 in matlab
Posted: Jan 2, 2013 12:57 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

majeti dinesh <dinesh.majeti@gmail.com> wrote in message <20997ad8-3b92-46bc-8b83-49a884e03165@googlegroups.com>...
> I am obtaining the value -1.#IND0 in computing a value.
> The formula used for the computation is
> r = s + u2*sqrt(u1/(1-u1)) where u2 and u1 are uniform random numbers between [0 1].

What is the value of r if u1 = 1 and u2 = 1?
What is the value of r if u1 = 1 and u2 = 0?


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

[Privacy Policy] [Terms of Use]

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