GNU Octave is a high-level interpreted language, primarily intended for numerical computations.

**1**

vote

**1**answer

33 views

### Why does emacs start out with such a goofy tab spacing here?

This appears on a Linux version of emacs 24.3.1.
Fire up a buffer, enter octave-mode (you may need to install from package), and enter something like this:
function foo = bar(x,y)
Now, if you go ...

**0**

votes

**0**answers

48 views

### Install octave with homebrew get NO GUI

I have installed Octave with homebrew.
Now if I launch from the terminal the command octave it get me a shell but now a gui:
~ octave
GNU Octave, version 3.8.0
Copyright (C) 2013 John W. Eaton and ...

**0**

votes

**0**answers

17 views

### Pressing delete key on blank line causes Octave to exit in Windows

Is there a workaround for using Delete button without worrying about closing Octave? From what I found, devs not going to fix it.

**0**

votes

**0**answers

50 views

### Gnuplot with octave produces only entirely black bar diagrams

My problem is the following: On my system (Linux Mint 14), the normal octave and gnuplot packages only produce completely black bar diagrams:
I have tried to change the colours in any way I could ...

**0**

votes

**1**answer

546 views

### Install octave using homebrew

I found a blog on how to do this here https://www.nesono.com/node/356 but when I do
brew install octave
I get
Error: No available formula for octave
I am on Mountain Lion 10.8.5

**0**

votes

**0**answers

194 views

### Octave on Remote Server

When I run plot commands eg.(plot(rand(1,10))). I get the following error.
PuTTY X11 proxy: wrong authorisation protocol attemptedPuTTY X11 proxy: wrong authorisation protocol attemptedPuTTY X11 ...

**-1**

votes

**2**answers

97 views

### PAGER('/dev/null'): permission denied

Setting PAGER to /dev/null as suggested through the net to prevent every command being printed in stdout issues an error under OS X 10.6:
octave:1> PAGER('/dev/null');
octave:2> 1
sh: ...

**1**

vote

**0**answers

19 views

### How to change Octave's gfortran lib path?

My install of octave wants to use a version of a gfortran library that no longer exists due to an upgrade.
I've symlinked the newer version to the older location to get things working, but I'd feel ...

**0**

votes

**1**answer

200 views

### Exporting plot as vector graphics in Octave or matlab

I know I can export a plot in octave as a PNG but is it possible to export a plot as a vector graphic image?
The reason I ask is that some of the points on my plot are very close together and I would ...

**1**

vote

**1**answer

123 views

### Switching between readline editing-modes in GNU octave

When punching away at the keyboard on the octave command line, I sometimes find that the various readline shortcuts stop working, e.g. C-a and C-e just insert ^A and ^E.
It took me a while to realize ...

**0**

votes

**2**answers

550 views

### Octave's sound() function

I apologize if this has been covered before but I am required to study Octave at my university. The way they're going through the exercises, they already assume that sound() works with Octave out of ...

**1**

vote

**0**answers

384 views

### Octave Install Error on Mac OSX 10.7.5 (using homebrew)

I am trying to install octave on my mac air
I have updated my homebrew, as is my XCode and its command line tools.
Here is the error I am getting:
==> Using Homebrew-provided fortran compiler.
...

**0**

votes

**0**answers

242 views

### How to input 64-bit hex values in octave

I'm trying to use Octave as a programmer's calculator. I want to input a 64-bit pointer, but when I do apparently the 64-bit value gets silently truncated to 32-bit:
octave:44> ...

**1**

vote

**3**answers

176 views

### Software to draw graphics with millions of “measurements”

In my trading software I generate a file like the following:
10:00:00.0000001 1.25333
...........................
...........................
14:58:48.5024961 1.23456
14:58:48.5024987 ...

**2**

votes

**1**answer

297 views

### In what (small) ways can I modify Octave's compile options to enhance it without breaking it?

If the title to this question seems a bit vague, I am sorry. But I wasn't sure how to distill what I am attempting to do into a single sentence.
A few weeks back I learned that I could build and ...

**0**

votes

**1**answer

226 views

### Can I install Octave under Windows 7 without admin rights?

Can I install Octave under Windows 7 without admin rights? There are similar questions on Linux, but this is about Windows 7.

**1**

vote

**1**answer

404 views

### Package dependency error message when install octave on RedHat linux

Hi I tried to install octave on my RedHat 5 Linux. I typed command as
yum install octave
Then, it complained as following :
gcc-gfortran-4.1.2-44.el5.x86_64 from installed has depsolving problems
...

**3**

votes

**2**answers

3k views

### Software GNUPlot not launching from GNU Octave

I'm trying to launch GNUPlot from Octave, but when I do I get the following error:
octave-3.4.0:3> plot(x,y)
dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: ...

**4**

votes

**2**answers

2k views

### How do I run a Linux shell command from Octave?

I want to run commands like pdflatex and cp from an octave script. Is there a way to do that?

**3**

votes

**1**answer

140 views

### Conditional variables depending on whether Matlab or Octave is running the code

I have written some code for Matlab/Octave. Basically, they have the same syntax and everything, but, for example, they have different functions for optimization (linprog/glpk,quadprog/qp).
I want ...

**1**

vote

**0**answers

427 views

### Installing Octave on Red Hat

I am trying to reinstall Octave on Red Hat. I currently have Octave 2.4 installed on the computer, but it is too old and some of my scripts are not running.
On the Octave wiki it says:
Octave is ...

**8**

votes

**1**answer

252 views

### Why does the expression exp(i*pi) return the wrong result in GNU Octave?

I started to learn GNU Octave today, and tried the first expression given in the manual
exp(i*pi)
The result is
ans = -1.0000e+000 + 1.2246e-016i
And it seems GNU Scientific Library gives ...

**1**

vote

**1**answer

1k views

### Completely remove/ uninstall Octave from my mac machine

Does anyone have any idea how I can completely remove/delete/uninstall all trace of Octave from my mac machine? Preferably via Terminal in a very swift action?
Thanks,

**4**

votes

**3**answers

2k views

### 3D plotting in Ubuntu

I have Ubuntu 10.10 installed and need to plot 3D graphic.
I have installed several free applications available in the repository, like QtiPlot and GNU Octave. I have found out and created the ...

**2**

votes

**2**answers

1k views

### Displaying a sequence of images in Linux

I'm generating a sequence of images saved as .PNG files on disk, labelled say plot001.png, plot002.png, plot003.png. These are actually saved plots from Octave, a scientific data ...

**1**

vote

**1**answer

163 views

### Octave: refer to output like %10 in Mathematica?

I want to reuse values. Is there a similar functionality as %10 of Mathematica in Octave?
octave:18> 3/log (2)
ans = 4.32808512266689
octave:19> % //how to output 4.328....
...

**0**

votes

**1**answer

1k views

### Octave: Precise value in Decimal or Continuous Fraction for 729 / 4^3 [closed]

I get the approximation:
>> 729 / 4^3
11.391
Is there some function to get more precise approximation?

**1**

vote

**3**answers

1k views

### Octave: how to do binary calculations?

What is the Octave NaN for? Is dot wrong delimiter?
>> bin2dec ('10.1')
ans = NaN

**0**

votes

**2**answers

2k views

### GNU Octave: How to change base from DEC to BIN?

I need to do many binary calculations of the form:
10.1^(1/11) base 2
10.001^(1/11) base 2
10.0001^(1/11) base 2
10.00001^(1/11) base 2
10.000001^(1/11) base 2
...
where 1/11 base 2 = 1/3 base 10.
...