Clear Filters
Clear Filters

Probability distribution- random function

1 view (last 30 days)
Khadija Sulail
Khadija Sulail on 28 Mar 2021
Answered: Mahesh Taparia on 31 Mar 2021
Any idea on how to do this code ? I know I should start with random but have no idea how to do it

Answers (1)

Mahesh Taparia
Mahesh Taparia on 31 Mar 2021
Hi
In this task, you can use rand, randi, randperm, round,histogram, mean functions to do these questions. For more information refer the documentation of each function.

Categories

Find more on Random Number Generation 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!