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!