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

Home » Public Forums » archive » adding a 4th dimension to 3D array during concatenation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
adding a 4th dimension to 3D array during concatenation [message #92869] Tue, 15 March 2016 15:37 Go to previous message
wdolan is currently offline  wdolan
Messages: 29
Registered: June 2015
Junior Member
So outside a loop I start out with an empty array (ex. array=[ ] ). Then each time through the loop, I make an array with 3 dimensions (for example, array x has dimensions[91, 41, 33] ), and then concatinate it to the previous array. (ex. array=[array, x]).

Lets say we run through the loop 16 times. What I'd like as a result is something that has dimensions like this [16, 91, 41, 33].

I'm not sure how to do this... I've looked at IDL coyote's concatenation tutorial, and still am having trouble.

I'm pretty new to coding period, so this is a challenge. Any ideas?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: n Number of output files
Next Topic: Filtering based on Hessian Matrix

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

Current Time: Wed Oct 08 09:18:22 PDT 2025

Total time taken to generate the page: 0.00453 seconds