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?

Answers (0)

Asked:

on 16 Jul 2018

Edited:

on 17 Jul 2018

Community Treasure Hunt

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

Start Hunting!