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 comentarios

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

Iniciar sesión para comentar.

Respuestas (1)

Deepak Meena
Deepak Meena el 20 de Nov. de 2020

0 votos

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 :

Categorías

Preguntada:

el 18 de Nov. de 2020

Respondida:

el 20 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by