Top "Octave" questions

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

What is your favourite MATLAB/Octave programming trick?

I think everyone would agree that the MATLAB language is not pretty, or particularly consistent. But nevermind! We still have …

matlab octave
Selecting only a specific number of rows fulfilling a condition

I currently started to work with octave for some data analysis and have some problems for a specific matrix manipulation. …

matlab matrix octave
How to make Octave use "gnuplot" instead of "fltk" by default?

I'm using Octave 3.8 on Ubuntu 13.10 and "fltk" for graphics is not working well. So I always switch to "gnuplot" by …

octave
How to select random samples from a dataset in Matlab

Possible Duplicate: How do I randomly select k points from N points in MATLAB? Let's say I have a dataset …

matlab octave random-sample
How to inverse matrix and integer result in Octave?

I would like to get an invertible matrix in Octave but as integers matrix, so: x = [9,15;19,2]; inv(x) Here I …

matrix octave inversion
How to load packages in Octave permanently?

I am using Octave on Window vista. I am using 4 package in my code. But every time I restart octave, …

config octave packages loading startup
Using SVD to compress an image in MATLAB

I am brand new to MATLAB but am trying to do some image compression code for grayscale images. Questions How …

matlab image-processing octave image-compression svd
Zoom out in Octave / gnuplot

I use Octave with gnuplot under Windows. I can zoom in using the right mouse button. But how can I …

octave gnuplot
Iterate over each row in matrix Octave

How do I iterate over each row in Z where Z is a 2 * m matrix: 6.1101,17.592 5.5277,9.1302 8.5186,13.662 How do I access each …

octave
How to get the mean of rows of a matrix in Octave?

>> a = [2,3,4;6,7,8] a = 2 3 4 6 7 8 >> mean(a) ans = 4 5 6 where [4 5 6] is the mean for each column How can I get …

matrix octave mean