expected value of a 1*4 matrix
2 views (last 30 days)
Show older comments
how can i find expected value k=E{(z.^2)*transpose(z)}.
'z' is a 1*4 matrix.
is matlab command mean((z.^2)*transpose(z)) is equal to expected value E{...}??
thanks
0 Comments
Accepted Answer
Matt J
on 10 Jul 2013
Yes. mean(x) averages over x.
3 Comments
Muhammad Yasir
on 27 Jul 2021
I have one confusion in this regard is that expected value is not always equal to the mean.
In a book on probability theory, I have found the following definition of expected value of a random variable
:
:
where
is the average value taken by a random varibale with probaility 
is the average value taken by a random varibale with probaility 
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!