摘要:
rand(1) returns one pseudo random number between 0 and 1 correct? (I don't know matlab myself but I know what you can do with the random number)Use the Box-Muller transform.This transform says isU1andU2are two independent uniform random variables on 0, 1, i.e., Ui ~ U(0,1), thenz1 = sqrt(-2 * lo 阅读全文