Help modifying code for new assignment

I have a matlab script that I am supposed to modify for a different assignment. I believe the idea of the assignment is to run a random simulation many times to see which option in the assignment is the best choice. I have attached the m-file that needs to be adjusted and an image of the assignment. The entire m-file that needs to be modified is commented out nicely and explains everything in the code.

 採用された回答

Image Analyst
Image Analyst 2016 年 12 月 2 日

0 投票

Looks like he wants you to solve it numericaly via a Monte Carlo experiment. Start modifying by renaming things, like n_games = numberOfTests, and score_p = score1 (the score for the first option of 2 tests), etc. Once you start renaming things, perhaps the path forward will become more clear.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMonte-Carlo についてさらに検索

質問済み:

2016 年 12 月 2 日

回答済み:

2016 年 12 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by