how do i assign count v

1 次查看(过去 30 天)
Brendan Querey
Brendan Querey 2020-11-18
回答: Deepak Meena 2020-11-20
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
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 :

类别

Help CenterFile Exchange 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by