expectation of random numbers

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by