comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » from array to one dimentional array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
from array to one dimentional array [message #45505] Tue, 13 September 2005 08:58
steffenfr is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Number precision using READ_ASCII
Next Topic: Re: Number precision using READ_ASCII

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 22:17:22 PDT 2025

Total time taken to generate the page: 0.40338 seconds