how do i assign count v

1 Ansicht (letzte 30 Tage)
Brendan Querey
Brendan Querey am 18 Nov. 2020
Beantwortet: Deepak Meena am 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 Kommentare
Nora Khaled
Nora Khaled am 18 Nov. 2020
could you explain the question in more details ?
Rik
Rik am 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).

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Deepak Meena
Deepak Meena am 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 :

Kategorien

Mehr zu Random Number Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by