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 Exchange에서 Monte-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