Graph cumulative sum against percentage
Show older comments
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 Comments
the cyclist
on 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
on 3 Sep 2013
Image Analyst
on 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
on 4 Sep 2013
Image Analyst
on 4 Sep 2013
OK - ignore the second plot. So why isn't the first plot what you want?
Accepted Answer
More Answers (0)
Categories
Find more on Performance and Memory in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!