|
"Ross W" <rosswoodskiwi@hotmail.com> wrote in message <i8oqds$3rr$1@fred.mathworks.com>...
> "wanna mt" <wanna281@gmail.com> wrote in message <i8omcg$grr$1@fred.mathworks.com>...
> > what is the differences of mean() and mean2()?is it mean() is specific for maths algorithm and mean2() is used for image processing?
>
> If you have an array A, then
> the difference is that mean(A) calculates a mean value for each column of A, whereas mean2(A) will calculate the mean of all the elements in A
>
> e.g.
> A=[1 2; 3 4]
>
> now try mean(A) and mean2(A), and see what you get.
>
> Ross
ok...now i get it..ok, thanx.. =)
|