how do i assign count v

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 Commenti

Nora Khaled
Nora Khaled il 18 Nov 2020
could you explain the question in more details ?
Rik
Rik il 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).

Accedi per commentare.

Risposte (1)

Deepak Meena
Deepak Meena il 20 Nov 2020

0 voti

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 :

Richiesto:

il 18 Nov 2020

Risposto:

il 20 Nov 2020

Community Treasure Hunt

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

Start Hunting!

Translated by