expected value of a 1*4 matrix

2 Ansichten (letzte 30 Tage)
ali
ali am 10 Jul. 2013
Bearbeitet: Matt J am 27 Jul. 2021
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

Akzeptierte Antwort

Matt J
Matt J am 10 Jul. 2013
Yes. mean(x) averages over x.
  3 Kommentare
Muhammad Yasir
Muhammad Yasir am 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
Matt J
Matt J am 27 Jul. 2021
Bearbeitet: Matt J am 27 Jul. 2021
Yes, but the law of large numbers implies that the arithmetic mean, as given by mean(), will approximate the statistical expected value.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by