//
//Uniform random function with seed
//
//This function is used to generate uniform random value.

//Syntax
// random(seed);
//argument seed is random seed 
//  seed = 0 : variaous random generation by every calling 
//  seed > 0 : fixex random generation by every calling 
//return     is normal random value



//Example 
clear;

for(i=1;i<=1000;i++) {
   //uniform random
   x=random(0);
   //normal random
   y=ranstd(0,1);    
   outrec;
}

//Inspection by graph
hist x;
hist y;