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 件のコメント

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

サインインしてコメントする。

回答 (1 件)

Deepak Meena
Deepak Meena 2020 年 11 月 20 日

0 投票

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 :

カテゴリ

ヘルプ センター および File ExchangeDescriptive Statistics and Visualization についてさらに検索

質問済み:

2020 年 11 月 18 日

回答済み:

2020 年 11 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by