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

Home » Public Forums » archive » sort arrays based on names
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
sort arrays based on names [message #71397] Wed, 16 June 2010 15:30
Hassan is currently offline  Hassan
Messages: 48
Registered: October 2009
Member
Hi,
I have five arrays (ns=10,nl=20) with the following names:
c:\test\red1.img
c:\test\red10.img
c:\test\red2.img
c:\test\red11.img
c:\test\red3.img
I want to make a new file which containes all files but in order like:
new_array=(10,20,5)
(following expression just show that I want to have the first image in
the first layer of my new array)
new_array(*,*,0) =c:\test\red1.img
new_array(*,*,1)=c:\test\red2.img
new_array(*,*,2)=c:\test\red3.img
new_array(*,*,3)=c:\test\red10.img
new_array(*,*,4)=c:\test\red11.img

Any help please?
[Message index]
 
Read Message
Previous Topic: export to HDF
Next Topic: regression optimization

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

Current Time: Wed Oct 08 14:14:50 PDT 2025

Total time taken to generate the page: 0.00394 seconds