The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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,822
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 <> wrote in message <>...
> 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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.