Expectation values in MATLAB
Posted
by
Bowler
on Stack Overflow
See other posts from Stack Overflow
or by Bowler
Published on 2011-11-25T09:47:51Z
Indexed on
2011/11/25
9:50 UTC
Read the original article
Hit count: 186
matlab
I have a 3D data set representing a grid of photosensors which unfortunately were not steady during use. I have estimated the pdf for the motion of the detector and I want to find the expectation value for each sensor. As I don't want to reflect my pdf (i.e. I want f(t) not f(t-tau)) I don't think I can use the matlab convolve function. Is there a function that will do what I want. I guess f I've found movavg but it seems to do something else.
Also, as I'm faily new to matlab, from C, I tend to use for loops which I'm aware is not the way to use Matlab. Is there an easy way to convert my 1-D pdf to a 3D matrix that will only operate in one axis (z in this case). Something like repmat(i, j, pdf)
© Stack Overflow or respective owner