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

Home » Public Forums » archive » Each time access different part of an array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Each time access different part of an array [message #94562] Thu, 06 July 2017 10:44 Go to previous message
dmfl0590 is currently offline  dmfl0590
Messages: 17
Registered: December 2015
Junior Member
Hi,

I have a 1D array with an odd number of rows, e.g. A=indgen(2435).

I want to split the array A into two parts and first access the entries A[0:1217] and then A[1218:*].

Then I would like to split my array into 4 parts and access each part every time.
Then split the matrix into 8 parts and so on.

Can anyone help with that?

Thanks in advanced.
[Message index]
 
Read Message
Read Message
Previous Topic: Problem creating .png file using Coyote graphics (or maybe problem with cgHasImageMagick?)
Next Topic: GeoTIFF help - conversion to lat/lon

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

Current Time: Wed Oct 08 15:48:01 PDT 2025

Total time taken to generate the page: 0.18361 seconds