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

Home » Public Forums » archive » Re: How do I add an array to the end of an existing 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
Re: How do I add an array to the end of an existing array? [message #55083 is a reply to message #55072] Sat, 28 July 2007 05:48 Go to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
This is a good easy one and an important trick (way of thinking) to
learn.

IDL> a=[[1,1],[2,2],[3,3]]
IDL> print, a
1 1
2 2
3 3
IDL> b=[[4,4],[5,5]]
IDL> print, b
4 4
5 5
IDL> c=[[a],[b]]
IDL> print, c
1 1
2 2
3 3
4 4
5 5


Is this want you wanted?

Cheers,

Brian


------------------------------------------------------------ ---------------------
Brian Larsen
Boston University
Center for Space Physics
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Derivative along one dimension of a data cube?
Next Topic: Runtime error woes

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

Current Time: Sat Oct 11 11:47:40 PDT 2025

Total time taken to generate the page: 1.19956 seconds