Probability HW Need help
Show older comments
Hello,
Can someone help mw with homework? How do I start ? What should I use ? Do I need conditional statements or not ? What kind of variables do I need to do ?

1 Comment
James Tursa
on 26 Jan 2021
Have you written any code yet? Do you have any specific questions about that code? E.g., to simulate a single fair coin flip where 0=tails and 1=heads you could do this:
coinflip = rand < 0.5;
Accepted Answer
More Answers (0)
Categories
Find more on Univariate Discrete Distributions 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!