Generate a uniform distribution of random numbers on a specified interval [a,b]. To do this, multiply the output of rand by (b-a) then add a.

x = a + (b-a) * rand(5)

## Monday, November 07, 2005

### uniform distribution of random numbers

Subscribe to:
Post Comments (Atom)

## No comments:

## Post a Comment