Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Is drawing multiple samples from randn the same as invoking randn for appropriate size ?
1 回表示 (過去 30 日間)
古いコメントを表示
Does the distribution of the random samples alter if I call randn(size, number_of_samples) instead of calling randn(size,1) in a loop of number_of_samples?
PS: I am looking to do stochastic computation for large samples.
0 件のコメント
回答 (1 件)
Star Strider
2016 年 1 月 23 日
It’s the same whether you call it repeatedly in a loop or ask it to create a matrix.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!