expectation of random numbers

2 ビュー (過去 30 日間)
bus14
bus14 2019 年 4 月 22 日
回答済み: Matt J 2019 年 4 月 22 日
Hi community,
I want to make an expectation of the next value to come with respect to a probability distribution function of my random demand vector D.
However, I have no clue what so ever how to do this in a Matlab code.
As for now I have demand vector D
D=rand(1,8)*100;
round(D)
I would want to make an expectation of the next value of D based on its previous values. Does anyone know how to do this?
thankyou,

採用された回答

Matt J
Matt J 2019 年 4 月 22 日
You can't do it. The D(i) are statistically independent, and so offer no information about what comes next.

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by