How to generate different numbers of random variables in each Monte Carlo iteration (random fields)
조회 수: 6(최근 30일)
I am modeling random fields in each monte carlo simulation. In this regard, I am usnig the mvnrnd command to generate dependent random variables in each iteration. However, the number of random variables changes in each iteration. How can i consider this matter in the below code?
c= mvnrnd(mu, sigma ,n);