How to write a monte carlo simulation

I have a code that selects a set of inputs randomly based on 'rand' and I want to run a Monte Carlo simulation of around 10000 iterations on it. How do I go about? How do I define the for loop variable?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Monte-Carlo 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by