Top "Octave" questions

GNU Octave is a free and open-source mathematical software package and scripting language.

Octave error filename undefined near line x column y

I am trying to run an Octave file which is in the working directory, but I get an error. Octave …

octave
Cost Function, Linear Regression, trying to avoid hard coding theta. Octave.

I'm in the second week of Professor Andrew Ng's Machine Learning course through Coursera. We're working on linear regression and …

machine-learning octave linear-regression
How to fit a gaussian to data in matlab/octave?

I have a set of frequency data with peaks to which I need to fit a Gaussian curve and then …

matlab octave curve-fitting gaussian
How can I append to a vector in Octave?

When ever I have to append to a vector I am doing this. A = [2 3 4] A = [A; 3 4 5] I was wondering if …

matlab vector append octave
Custom x-axis values in a matlab plot

Currently when I plot a 9 by 6 array, the x-axis of the figure is just 1, 2, 3 up to 9. The Y-axis shows the …

matlab plot axis octave figure
How can I set the window size of a plot window?

Is it possible to set the window size / position of a plot window (figure)? plot(0:20, sin(0:20)) Or is there any …

plot octave
Octave / Matlab: Extend a vector making it repeat itself?

Is there a way to extend a vector by making it repeat itself? >v = [1 2]; >v10 = v x 5; %x …

matlab vector octave
How to change axis linewidth and fontsize in Octave

I am trying to resize some plots in Octave. I've been able to change the line thickness and axis labels. …

plot octave axes
How to execute .m files in Octave

How do I execute .m files in Octave?

matlab octave
Matlab, how to calculate AUC (Area Under Curve)?

I have the file data.txt with two columns and N rows, something like this: 0.009943796 0.4667975 0.009795735 0.46777886 0.009623984 0.46897832 0.009564759 0.46941447 0.009546991 0.4703958 0.009428543 0.47224948 0.009375241 0.47475737 0.009298249 0.4767201 [...] Every couple of values in …

matlab octave area curve