Graph cumulative sum against percentage
Ältere Kommentare anzeigen
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 Kommentare
the cyclist
am 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
am 3 Sep. 2013
Image Analyst
am 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
am 4 Sep. 2013
Image Analyst
am 4 Sep. 2013
OK - ignore the second plot. So why isn't the first plot what you want?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!