Octave help

Author
Discussion

Otispunkmeyer

Original Poster:

12,606 posts

156 months

Wednesday 30th July 2014
quotequote all
Just a little help needed using Octave

We don't have matlab here so having to make do with free alternatives like SciLab and Octave. I have been using SciLab mostly as I like the GUI, but Octave can be quicker sometimes as its function for function the same as matlab (almost).

Only problem is you have to do it all in a black window that looks like a command terminal. At least on the version I downloaded

One problem I am having is when you ask it to display what is in a variable, if say that variable is a big n-by-1 matrix. So I load a csv file that has 112 rows, 3 columns, I assign X to col 1, Y to col 2 etc and when I ask it to print X or I forget the ";" at the end it prints out the long list of numbers.

Then I cant do anything else!! I can't type anything or if I can when i press enter it says log file already in use. It also displays (End) as well and I just don't know how to get it off that and back to accepting commands!

Any ideas?

Otispunkmeyer

Original Poster:

12,606 posts

156 months

Thursday 31st July 2014
quotequote all
its ok, just found that Z fast scrolls to the end and q brings you back out of whatever it was trying to show you and youre back at the command line.

Now I am having issues with it doing screwy stuff! Its like every time you load octave the commands do something different!

I had a matrix, 4x4 matrix, E1.

doing min(E1) returned another 4x4 matrix full of big floating point numbers!

close and reopen octave and doing min(E1) gives 1 3 2 4 which are the smallest values in each of the 4 columns which is what I wanted in the first place!