Graph cumulative sum against percentage
Afficher commentaires plus anciens
I want a graph of the cumulative percentage of two random dices that add up to 6 as a percentage of the total throws (in the subplot (2,1,2).
Any advice would be great.
5 commentaires
the cyclist
le 3 Sep 2013
My advice is that since this sounds like a homework problem, you post your code showing some evidence that you tried yourself. Then maybe someone will give you a hint, without just doing your work for you.
Brian
le 3 Sep 2013
Image Analyst
le 4 Sep 2013
x is the number of throws, so you're doing it right, at least in the first plot. I have no idea what f is in the second plot since you didn't assign it.
Brian
le 4 Sep 2013
Image Analyst
le 4 Sep 2013
OK - ignore the second plot. So why isn't the first plot what you want?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!