How do I add expectation operator of a variable in an economic model?

1 view (last 30 days)
How do I write expectation operation in (suppose) the following equation on Matlab Editor?
x(t)=c+mE(x(t+1))
where E is the expectation operator.

Answers (1)

Star Strider
Star Strider on 20 Jul 2016
The expectation operator is generally considered to be the arithmetic mean. I don’t know what ‘x’ is (it could be a cell array, likely one vector in a cell array), but if it is a numeric array, the mean of one value is the value itself.

Community Treasure Hunt

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

Start Hunting!