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

Home » Public Forums » archive » 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
Matrix in IDL [message #77940] Mon, 17 October 2011 04:32
Waleria is currently offline  Waleria
Messages: 6
Registered: October 2011
Junior Member
Hi all,

I need to create a matrix of 2 dimensions in IDL and to save in
file .sav
I know that in IDL command line is: mat=dblarr(2, 4) ....that's
correct?

But in the interface graph i don't really know....i did so:

PRO cria_mat

mat=dblarr(2, 4)

OpenR, lun, 'C:\Documents and Settings\Projeto_Estudo\mat.sav', /
Get_lun
mat = dblarr(file_lines('C:\Documents and Settings\Projeto_Estudo
\mat.sav'))
ReadF, lun, mat
close, lun


writeu, unit, mat
print, mat
help, mat
close, unit

END

Can you help me, please?
[Message index]
 
Read Message
Previous Topic: Return array from a pro
Next Topic: Matrix in IDL

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

Current Time: Wed Oct 08 18:22:58 PDT 2025

Total time taken to generate the page: 0.00362 seconds