No BSD License  

Highlights from
RANDOM

5.0

5.0 | 1 rating Rate this file 11 Downloads (last 30 days) File Size: 2.8 KB File ID: #2848

RANDOM

by

 

12 Dec 2002 (Updated )

Uniformly distributed random numbers on a non-continuous domain defined by several intervals.

| Watch this File

File Information
Description

RANDOM takes the advantage of RAND basic function to generate random entries, chosen from a uniform distribution on the non-continuous domain defined by several intervals.

RANDOM with no input arguments is the same as RAND.

RANDOM(D) generates one random number on the domain D, where D is (Nx2)-real matrix defining N non-intersected intervals.

RANDOM(D, N) is an N-by-N matrix with random entries, chosen from a uniform distribution on the domain defined by D.

RANDOM(D,M,N) and RANDOM(D, [M,N]) are M-by-N matrices with random entries on the domain defined by D.

RANDOM(D,M,N,P,...) or RANDOM(D,[M,N,P,...]) generate random arrays on the domain defined by D.

MATLAB release MATLAB 6.0 (R12)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
21 Mar 2004 Kostas Nadima

Very nice to find it when you need it...
Thanks a lot!

Updates
02 Jan 2003

A little bit different more effective implementation improving the runtime of the proposed uniform generator is found.

Contact us