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

Home » Public Forums » archive » Re: combining small arrays into large one
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
Re: combining small arrays into large one [message #47926] Mon, 13 March 2006 13:46
Marshall Perrin is currently offline  Marshall Perrin
Messages: 44
Registered: December 2005
Member
pimpk24@hotmail.com <pimpk24@hotmail.com> wrote:
> Hello,
>
> I have four one-dimensional arrays or vectors of the same size and want
> to create one large array containing these four smaller ones (where the
> second dimension is an index of each smaller array)
>
> say each small array has 50 different elements,
> a1= (50)
> a2 = (50)
> a3= (50)
> a4= (50)
>
> and I want:
>
> a=(50, 4)

a = [ [a1], [a2], [a3], [a4] ]


- Marshall
Re: combining small arrays into large one [message #47927 is a reply to message #47926] Mon, 13 March 2006 13:22 Go to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
Hi,

a=[[a1],[a2],[a3],[a4]]

regards,
lajos


On Mon, 13 Mar 2006 pimpk24@hotmail.com wrote:

> Hello,
>
> I have four one-dimensional arrays or vectors of the same size and want
> to create one large array containing these four smaller ones (where the
> second dimension is an index of each smaller array)
>
> say each small array has 50 different elements,
> a1= (50)
> a2 = (50)
> a3= (50)
> a4= (50)
>
> and I want:
>
> a=(50, 4)
>
>
> any help greatly appreciated ...
>
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: CW_BGROUP question
Next Topic: BCD decoder for WWV IRIG H format signals?

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

Current Time: Fri Oct 10 05:50:30 PDT 2025

Total time taken to generate the page: 0.40033 seconds