Andrew's Octave Assignment

From Class Wiki
Revision as of 15:07, 29 September 2010 by Andrew.roth (talk | contribs)
Jump to navigation Jump to search

Installing Octave

To install Octave, go to one of the computers in the computer lab and copy C:\Octave to a thumb drive. Then paste the Octave folder to your C:\ drive. This will save you at least 30 minutes and a headache.

The executable file is C:\Octave\3.2.3_gcc-4.4.0\bin\octave.exe

Octave does not have to be in the computer's registry. I am running octave from my thumb drive so I can have it on any computer I want.

Playing with Octave

With this I made a simple plot with labels, a title, and a legend.

clear all
close all
x=0:.1:10;
plot (x,x)
xlabel ('x label')
ylabel ('y label')
title ('title')
grid on
legend ('y=x')