David's Octave Assignment: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
Created page with 'I followed the Instructions "Read this first!!" For acquiring a copy of Octave. I just copied it to my flash drive from a computer lab pc. I played around with Octave as instru…'
 
Blanked the page
Line 1: Line 1:
I followed the Instructions "Read this first!!" For acquiring a copy of Octave.  I just copied it to my flash drive from a computer lab pc.


I played around with Octave as instructed, But I still don't understand it very well.  I plotted a couple graphs, but I don't understand the proper syntax format for Octave,  I got many syntax errors because I'm not familiar with the symbols and code for entering functions and commands.
If I enter:
y=x;
plot (x,y)
then it plots the graph of y=x.
But when I enter:
y=x^2;
plot (x,y)
it says: error: For A^B, A must be square.
I'm confused, but Hopefully I'll figure out more in the future.
I spent 1 hour installing this program and trying to figure it out.
David

Revision as of 10:51, 1 October 2010