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

Home » Public Forums » archive » Re: how to use make array with different values
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: how to use make array with different values [message #84188] Tue, 30 April 2013 23:37
gunvicsin11 is currently offline  gunvicsin11
Messages: 93
Registered: November 2012
Member
On Wednesday, May 1, 2013 11:54:53 AM UTC+5:30, Mats Löfdahl wrote:
> Den onsdagen den 1:e maj 2013 kl. 07:40:34 UTC+2 skrev sid:
>
>> Hello everyone,
>
>>
>
>> I need to know how to make an array with different values.
>
>>
>
>> I have 64 values in d that is d= dblarr(64) now i have to make a matrix of 8x8 array and put all these values there.
>
>
>
> The command
>
>
>
> IDL> d2 = reform(d,8,8)
>
>
>
> will do that for you.

Thank you sir it works
Re: how to use make array with different values [message #84190 is a reply to message #84188] Tue, 30 April 2013 23:24 Go to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den onsdagen den 1:e maj 2013 kl. 07:40:34 UTC+2 skrev sid:
> Hello everyone,
>
> I need to know how to make an array with different values.
>
> I have 64 values in d that is d= dblarr(64) now i have to make a matrix of 8x8 array and put all these values there.

The command

IDL> d2 = reform(d,8,8)

will do that for you.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to use make array with different values
Next Topic: Re: i cann't open idl because idlde.exe has stopped working.

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

Current Time: Wed Oct 08 11:42:33 PDT 2025

Total time taken to generate the page: 0.01895 seconds