expectation of random numbers

조회 수: 4 (최근 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개)

카테고리

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