------------------------------------------------------------------------- PHYS210: OCTAVE LAB 1 ------------------------------------------------------------------------- o Login and open a terminal window and a browser pointed to these notes as usual o Create the subdirectory 'octave' in your homedirectory; we will be using it extensively to copy/create octave code, though not today % cd % mkdir octave o Start octave from the commmand line --- note that there is NO GUI for octave as we will be using it % octave o You should see the following GNU Octave, version 3.2.4 Copyright (C) 2009 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Octave was configured for "i686-pc-linux-gnu". Additional information about Octave is available at http://www.octave.org. Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Report bugs to (but first, please read http://www.octave.org/bugs.html to learn how to write a helpful report). For information about changes from previous versions, type `news'. octave:1> o Note the octave prompt 'octave:1>', which as was the case for the shell (bash) or maple, means that octave is expecting input from us. Also note that '1' indicates that octave is waiting for our first command, others will be numbered sequentially as we will see. o For brevity (and for consistency with Gilat (Matlab text)), in the remainder of the octave lab notes I will try to use >> as the octave prompt o Now follow along as we get acquainted with some basic usage of octave by typing in expressions at the command line