expected value of a 1*4 matrix

2 ビュー (過去 30 日間)
ali
ali 2013 年 7 月 10 日
編集済み: Matt J 2021 年 7 月 27 日
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

採用された回答

Matt J
Matt J 2013 年 7 月 10 日
Yes. mean(x) averages over x.
  3 件のコメント
Muhammad Yasir
Muhammad Yasir 2021 年 7 月 27 日
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
Matt J
Matt J 2021 年 7 月 27 日
編集済み: Matt J 2021 年 7 月 27 日
Yes, but the law of large numbers implies that the arithmetic mean, as given by mean(), will approximate the statistical expected value.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by