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

Home » Public Forums » archive » IDL sort to Matlab sort
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
IDL sort to Matlab sort [message #38785] Mon, 29 March 2004 21:58
roberson_1 is currently offline  roberson_1
Messages: 10
Registered: November 2003
Junior Member
Can someone please help me on sort. I would like to convert the
following from IDL sort function to Matlab. thanks.

IDL command:

subimage=(n,m,z) % where z is numbers of frames
sorty=sort(Centroid_image (1,*))
centroid_image_sorted= Centroid_image(*,sorty)
sumimage_sorted= sumbimage(*,*,sorty)



for xy1=1:3:27
data=sort(centroid_image_sorted(0,xy1:xy1+2))+xy1
cent_img(*,xy1:xy1+2)=centroid_image_sorted(*,data)
sub_img(*,*,xy1:xy1+2)=sumimage_sorted(*,*,data)
end
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: tvrd with a color table on a 24 bit device, true=0
Next Topic: catching netcdf error codes

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

Current Time: Wed Oct 08 19:45:52 PDT 2025

Total time taken to generate the page: 0.00525 seconds