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

Home » Public Forums » archive » Re: Matrix in IDL
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: Matrix in IDL [message #77933] Mon, 17 October 2011 10:45 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
Did you expect anything else? If you did only what is written below
you saved an array that had only zeroes, so that is what you got back
from the file.

On Oct 17, 3:36 pm, Waleria <waleriantu...@gmail.com> wrote:
> On 17 out, 11:08, Vincent Sarago <vincent.sar...@orange.fr> wrote:
>
>> you can just use the 'save' procedure
>
>> mat=dblarr(2, 2)
>
>> save, mat, filename = '~/myMat.sav'
>
>> after to re-use it in idl you do :
>
>> restore, '~/myMat.sav'
>
>> and the 'mat' variable will be restored.
>
>> vincent
>
> Hi,
>
> I did it but this matrix with all zero values.
>
> Look:
>
> % Compiled module: CRIA_MAT.
>       0.00000000      0.00000000
>       0.00000000      0.00000000
> MAT             DOUBLE    = Array[2, 2]
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: REFORM: new subscripts must not change the number elements in array
Next Topic: Re: Return array from a pro

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

Current Time: Wed Oct 08 15:23:01 PDT 2025

Total time taken to generate the page: 0.00416 seconds