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 
Switch to threaded view of this topic Create a new topic Submit Reply
Matrix in IDL [message #77941] 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, 2)

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?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Matrix in IDL
Next Topic: compute quartiles of a distribution

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

Current Time: Wed Oct 08 15:12:18 PDT 2025

Total time taken to generate the page: 0.17255 seconds