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

Home » Public Forums » archive » Re: split array
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: split array [message #72370] Fri, 03 September 2010 11:21
kishore1818 is currently offline  kishore1818
Messages: 24
Registered: June 2007
Junior Member
On Sep 2, 5:54 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Sep 2, 9:27 pm, kiss <kishore1...@gmail.com> wrote:
>
>> I am planning to split the array 2 dim to 3 dim
>> My data sets are dat=(216,91) to make to (18,12,91) ie., 216=18*12
>> is it possible to make 2 dim to 3 dim, if possible pl let me know how
>> to split.
>
> dat=reform(dat,18,12,91)

Hi,

Thanks for your nice answer.

Kishore
Re: split array [message #72380 is a reply to message #72370] Thu, 02 September 2010 17:54 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Sep 2, 9:27 pm, kiss <kishore1...@gmail.com> wrote:
> I am planning to split the array 2 dim to 3 dim
> My data sets are dat=(216,91) to make to (18,12,91) ie., 216=18*12
> is it possible to make 2 dim to 3 dim, if possible pl let me know how
> to split.

dat=reform(dat,18,12,91)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: about the blackbody radiation curve
Next Topic: plotting two dimension grid array

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

Current Time: Fri Oct 10 19:35:05 PDT 2025

Total time taken to generate the page: 1.43697 seconds