MATLAB: Generating integer random numbers from power-law distribution

random number generator

Is there a code to generate integer random numbers through power-law distribution of the form p(x)=x^-(alpha+1)?
thanks in advance

Best Answer

Try this: RANDRAW
Related Question