Instead of a 6-sided die, your function should now receive an integer d (assume 2 or greater), representing the number of faces of the die. Otherwise, the problem is the same.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers4
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2814 Solvers
-
Omit columns averages from a matrix
620 Solvers
-
Sum all integers from 1 to 2^n
17453 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
867 Solvers
-
721 Solvers
More from this Author45
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!