[Top][All Lists]

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

writing scripts

From: Matthew Lancellotti
Subject: writing scripts
Date: Wed, 10 Feb 2010 10:53:41 -0500


I need to create a script file (i think its also called an m-file).  For 
example, let's say I wanted to make a function m-file with the commands:

function v = rvect(m)
v = fix(10*rand(m,1));

and i wanted to save it as "rvect.m".  Then, I want to be able to utilize the 
function when I work in Octave.

I am new to Octave, so I really have no idea how to do this.  Your help is 
greatly appreciated



reply via email to

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