Forums > Jitter

row-wise statistics

March 8, 2006 | 7:11 pm

I would like to figure out which row in a two-dimensional matrix has
the lowest mean value. I suppose I could scissors the matrix up into
a bunch of one-dimensional matrices then use a bunch of jit.3m’s to
compute the mean of each row, but that doesn’t sound very efficient
or scalable. Anyone have a better idea?

thanks!

Alex


March 8, 2006 | 7:23 pm

You can use xray.jit.mean (
http://www.mat.ucsb.edu/~whsmith/xray/xray.jit.mean.html ).

wes


March 8, 2006 | 9:06 pm

thanks for that Wes,
I use it all the time, i suppose with the Lobjects is the external I
use most…

ciao,

Joost.

——————————————-

Joost Rekveld
———– http://www.lumen.nu/rekveld

——————————————-

"The mystery of the world is the visible, not the invisible"
(Oscar Wilde)

——————————————-


Viewing 3 posts - 1 through 3 (of 3 total)