help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I pass filename to script called in shell?


From: Francesco Potorti`
Subject: Re: Can I pass filename to script called in shell?
Date: Fri, 20 Feb 2009 13:45:36 +0100

>I have a script file (run-psd.m), as follows...
>
>       file = read(argv(){2});
>       acc = dlmread(file);
>       psd = autspec(acc,dt,win,raw);
>       save -ascii psddata psd

What is "read"?  I suppose you meant

 file = argv(){2};
 acc = dlmread(file);
 psd = autspec(acc,dt,win,raw);
 save -ascii psddata psd

But then, what is "autspec" and "psddata"?

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]