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.

 Respuesta aceptada

Image Analyst
Image Analyst el 2 de Dic. de 2016

0 votos

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.

Más respuestas (0)

Categorías

Preguntada:

el 2 de Dic. de 2016

Respondida:

el 2 de Dic. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by