from array to one dimentional array [message #45505] |
Tue, 13 September 2005 08:58 |
steffenfr
Messages: 3 Registered: September 2005
|
Junior Member |
|
|
Dear all, I am trying to apply the spearman correlation
coefficient to 2 images which means that I have to compare
2 arrays. The R_correlate however works only with one dimentional
arrays which means that I need to change the n-dimentional array into a
one-dimentional one, for example like that
Array: 3by3
111
222
333
into the one-dimentianl array (Vector) [9by1] which is [111222333]
Does anybody know how do do that in a simple way, or has anybody done
it alreay in a program? Maybe somebody has already a program which can
claclaute a correlation coefficient between 2 images (for all paiwise
values of 2 identical overlapping images).
Thanks a lot in advance, Steffen F.
|
|
|