Random number generator for linear distribution in matlab

The following Matlab project contains the source code and Matlab examples used for random number generator for linear distribution. Return random variable(s) with linear distribution within [0,1] and 0 outside; m specifies the slope In other word P(x)= mx+b if 0<=x<=1 P(x)= 0 otherwise where b=1-m/2 as int P(x) should be 1 Usage: ran=randl(m,SIZE) E.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1312
randl.m 1070