Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
52 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?
2
votes
1answer
42 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
0answers
66 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 ...
0
votes
0answers
20 views

Plotting from .m file with Octave for Windows does not show plot

http://www.gnu.org/software/octave/ http://octave.sourceforge.net/ Octave-3.2.4_i686-pc-mingw32_gcc-4.4.0_setup.exe While plot(1:4) works from the Octave prompt, using octave my.m does not ...
7
votes
1answer
105 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 ...
0
votes
1answer
203 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,
1
vote
2answers
339 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
1answer
122 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
1answer
646 views

Octave: Precise value in Decimal or Continuous Fraction for 729 / 4^3

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

Octave: how to do binary calculations?

What is the Octave NaN for? Is dot wrong delimiter? >> bin2dec ('10.1') ans = NaN
0
votes
2answers
907 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. ...