MATLAB: How to generate 1000 random numbers with extreme value dist MATLABrandom number generator how to generate 1000 random numbers with extreme value dist type 1 (Gumbel) with know parameters m and a Best Answer doc evrndhttp://www.mathworks.com/help/releases/R2013b/stats/evrnd.html Related SolutionsMATLAB: Generating random numbers you can use randi( [ 0 96] , N) where N is the amount of numbers you want. Then divide this answer by 2 MATLAB: Generating random numbers function x = atakan(mu,sigmasqroot,m)count=0; x=[]; y=[];while (count<m) u1=rand; u2=rand; y=tan(pi*(u1-(1/2))); test=((sqrt(exp(1))/2)*(1+(y^2))*((exp(1)^((-y^2)/2)))); if (u2<=test) z=sqrt(sigmasqroot)*(y+mu); % if x~N(0,1) then sigma*(x+mu)~N(mu,sigma^2) then set x=y; x=[x; z]; count=count+1; endend Related QuestionIndependence in rand functionHow to test chi-squared distGenerate real random numbersRandom numbers
Best Answer