how do i assign count v

1 view (last 30 days)
Brendan Querey
Brendan Querey on 18 Nov 2020
Answered: Deepak Meena on 20 Nov 2020
so i am looking at the weather conditions in five cities - five times and setting up a generator with
random (0,1) - cum probability of the cloud value
one cloud count - 0, 1
one cloud value - 0, 20
sum them up
cloudcount = sum of count of cloudy cities
cloudval = sum of values in five cities
  2 Comments
Nora Khaled
Nora Khaled on 18 Nov 2020
could you explain the question in more details ?
Rik
Rik on 18 Nov 2020
You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).

Sign in to comment.

Answers (1)

Deepak Meena
Deepak Meena on 20 Nov 2020
Hi Bredan ,
as Rik suggested you should go through MATLAB onramp tutorial if you want to learn the basics and , you can see following documentation which might be helpful to you :

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!