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

Home » Public Forums » archive » Assigning the values of a matrix to a larger matrix
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: Assigning the values of a matrix to a larger matrix [message #88528 is a reply to message #88527] Wed, 07 May 2014 16:40 Go to previous message
Fabrice Lambert is currently offline  Fabrice Lambert
Messages: 6
Registered: March 2012
Junior Member
Just what I needed.
Thanks a lot Heinz!

-Fabrice

On Wednesday, May 7, 2014 1:51:19 PM UTC-4, Heinz Stege wrote:
> On Wed, 7 May 2014 09:35:45 -0700 (PDT), Fabrice Lambert wrote:
>
>
>
>> Is there a way to avoid the for-loops in that case?
>
>
>
> Yes again. REBIN has a partner. It's name is REFORM. REFORM is able to
>
> add extra dimensions within an array. Example
>
> a=indgen(3,2)
>
> a=reform(a,3,1,2,/overwrite)
>
> After this REBIN can be used to increase the new dimension.
>
>
>
> For more information you may want to read
>
> http://www.idlcoyote.com/tips/rebin_magic.html.
>
>
>
> Cheers, Heinz
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: ENVI_GLT_DOIT and ENVI_GEOREF_FROM_GLT_DOIT
Next Topic: GDL weirdness (bug?) with modulo command

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

Current Time: Wed Jul 15 06:25:56 PDT 2026

Total time taken to generate the page: 0.96189 seconds