Questions tagged [octave]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

How to format Octave plots to be indistinguishable from MatLab

I have a non-commercial license for Matlab that puts the restriction that I cannot present any plots generated by MatLab to commercial clients. Recently, I started using GNU Octave and found that ...
user avatar
  • 125
0 votes
0 answers
33 views

Octave GUI on Mac is not able to open a file

I entered this code on my octave GUI on Mac: 3.> cd /Users/Sudipta/Downloads warning: load_path: .: Operation not permitted QKqueueFileSystemWatcherEngine::addPaths: open: Operation not permitted ...
user avatar
  • 101
0 votes
1 answer
64 views

Linker Issue(s) with Compilation Configuration Settings on Catalina for Building Octave

I am getting linker errors building Octave on OS X 10.15.7 with clang++. E.g. "bsxfun_add(intNDArray<octave_int > const&, intNDArray<octave_int > const&)", referenced ...
user avatar
  • 119
0 votes
2 answers
371 views

How to install this extension in Octave (pcbmodelgen for openEMS)

I am not understanding how to install this extension called pcbmodelgen, it is for openEMS EM simulation software which runs in Octave. I am using Windows 10, I already have openEMS up and running and ...
user avatar
  • 103
0 votes
1 answer
102 views

Windows 10 task scheduler does not run Octave files

I want to run a complex m-file using GNU Octave 5.2 on Windows 10. I stripped it down to a very simple example that also does not work: C:\test\start_test.bat: call C:\Tools\Octave\mingw64\bin\octave-...
user avatar
  • 184
3 votes
4 answers
13k views

VBS script execution blocked on Windows 10

Posting this question on behalf of GNU Octave trying to troubleshoot execution problems. We've recently had a handful of Windows users install the software and be unable to run the program. Often ...
user avatar
  • 141
-1 votes
2 answers
3k views

Cannot find script file "C:\Octave\Octave-5.2.0\octave.vbs"

I get this script error message every time I open Octave (CLI and GUI). When I "Open file location" it opens the folder and highlights the file "wscript.exe" I thought octave was missing that file so ...
user avatar
1 vote
1 answer
1k views

Octave 5.1.0 -Symbolic package installation error

I just installed Octave 5.1.0 and need to use the symbolic and control packages with it on my Windows 10 machine. When I first opened the application, I tried this to install Symbolic: >>pkg ...
user avatar
  • 11
1 vote
1 answer
56 views

Calculating Large Number Power

I am actually looking for a solution to be able to calculate this Excel formula: =1-PERMUT(1.15*10^77,358*10^7)/(1.15*10^77)^(358*10^7) I tried to solve it in Octave too. Is there any solution for ...
user avatar
  • 11
0 votes
1 answer
309 views

Octave - symbolic package using old version of sympy

I am trying to use symbolic package in Octave (4.2.2). When I try to load the package, I receive the following error: "Symbolic pkg v2.8.0: error: SymPy version 1.1.1 found but is too old (1.2 ...
user avatar
0 votes
1 answer
4k views

Octave GUI doesn't come up on windows 10 x64

(A) I installed Octave 4.4.1 on my machine running Windows 10 x64 version. I installed it at d:\Octave. (B) When I click the desktop shortcut "GNU Octave (GUI)" after installation, it opens up Octave....
user avatar
0 votes
1 answer
70 views

Remove description / information when starting octave

Everytime I run octave, the following description/information displays on the screen, is there anyway the following doesn't shows up.. { GNU Octave, version 3.8.1 Copyright (C) 2014 John W. Eaton ...
user avatar
2 votes
1 answer
4k views

I can not find the octave.exe after installing octave

When installing oct2py library on Python, I was required to have GNU Octave installed in my path, in another word, setx PATH "%PATH%; where the folder has the file “octave.exe”. However, I can not ...
user avatar
2 votes
1 answer
3k views

How do I start Octave GUI from zip file install

I downloaded windows 32 zip file version of Octave from here I do not want to use the installer to fully install Octave and would prefer to use it through the zip file extraction I can start ...
user avatar
  • 1,271
0 votes
1 answer
2k views

Matlab/Octave Solving Matrix Using Gauss Seidel not Converging

Something totally impossible is happening. I have run the following code multiple times on the same Matrix and always converged to a solution using the Gauss Seidel method within 10 iterations. My ...
user avatar
  • 117
8 votes
1 answer
8k views

Suppress "qt5ct: using qt5ct plugin" message

Every time Octave draws a figure (eg graph), I get the following message: qt5ct: using qt5ct plugin How do I suppress it?
user avatar
  • 2,114
2 votes
1 answer
2k views

Blank command prompt in Windows using Octave

I'm using Octave 3.6.4 on Windows 10. All appears to be working ok, except there's no command prompt. I know that you can Customize the prompt using PS1, but that still leaves it blank. Here's a ...
user avatar
  • 515
0 votes
1 answer
1k views

How to run Octave scripts from bash?

pavel@pavel-VirtualBox:~/projects/csv_converted$ sh plot.sh plot.sh: 2: plot.sh: Syntax error: "(" unexpected pavel@pavel-VirtualBox:~/projects/csv_converted$ ./plot.sh 'usr/bin/octave-cli: invalid ...
user avatar
0 votes
1 answer
129 views

Where do I find a live CD with octave?

I'm working on a project involving octave. It's difficult to tie up my work computer with running the calculations so I thought to do it on an old laptop. That computer doesn't have an OS currently so ...
user avatar
  • 103
0 votes
1 answer
82 views

Viewing exacution of a single file in GNU Octave (echo fcnname on)

Question is simply: in MATLAB, you could simply use echo myFun on to set the echo status of a single function m-file to on, which then shows you each of the lines executed. In GNU Octave, however, ...
user avatar
  • 408
0 votes
1 answer
973 views

Installing Octave-4.0.0 on CentOS yields QtOpenGL linking error

I am in the process of trying to install Octave-4.0.0 on a CentOS 6 cluster. Octave has 20+ dependencies, and it is unclear which versions of each dependency to use. Since yum only has Octave-3.4.3, ...
user avatar
3 votes
2 answers
9k views

How to add Octave CLI to the system PATH variable in Windows?

I installed Octave 4 (from here) which has both a GUI and a CLI. However, Octave doesn't seem to be added to the PATH variable, so typing octave or octave-cli into the command line doesn't do anything....
user avatar
1 vote
1 answer
453 views

Installing pstoedit via macports is failing

I'm in the process of installing octave through macports (which btw was a huge pain in the afternoon), after it compiled for nearly a day, macports is installing some last dependencies, one of them is ...
user avatar
  • 449
2 votes
1 answer
2k views

Show Octave plot from shell script

If I invoke Octave to plot something, it needs the interactive prompt to stay running and show the plot. When running from the command line, the --persist option will force Octave to keep open after ...
user avatar
  • 1,800
0 votes
2 answers
1k views

Creating a program shortcut that runs octave through cmder

In response to a previous question (Adding keyboard shortcuts for command prompt on Windows 7) I asked on this site I am now using cmder instead of command prompt as it is more user-friendly (as it ...
user avatar
0 votes
0 answers
448 views

installing octave on OS X - get error and not sure how to fix

I have done a brew update && brew upgrade and brew install octave --without-docs afte a while I get: patching file libgui/qterminal/libqterminal/unix/ExtendedDefaultTranslator_mac.h ...
user avatar
  • 683
0 votes
1 answer
357 views

Minimum packages required for Ubuntu Server to run Octave 3.8.x with GUI

I have a Ubuntu 14.0 server with no graphical interface. I created this server only to use Octave on it. Now that there is a GUI for the recent version of Octave 3.8.x available I wanna know what is ...
user avatar
  • 538
0 votes
2 answers
433 views

How to disabe the beep in Octave 3.8.0 GUI on Windows 7

The octave 3.8.0 experimental GUI is producing a warning beep in the console if, e.g. tab is pressed and there's no unique way to continue the typed command. How do I disable this beep? Under 3.6.4, ...
user avatar
  • 105
1 vote
1 answer
748 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 to ...
user avatar
  • 1,549
0 votes
1 answer
2k 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
user avatar
-1 votes
2 answers
472 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: /dev/null:...
user avatar
  • 31
0 votes
1 answer
1k 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 ...
user avatar
  • 133
0 votes
1 answer
614 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 ...
user avatar
  • 6,064
0 votes
2 answers
5k 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 ...
user avatar
1 vote
0 answers
632 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. ...
user avatar
0 votes
0 answers
1k 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> base_ptr=...
user avatar
1 vote
3 answers
250 views

Software to draw graphics with millions of "measurements" [closed]

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 1....
user avatar
2 votes
1 answer
499 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 ...
user avatar
1 vote
2 answers
2k 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.
user avatar
  • 111
1 vote
1 answer
751 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 ...
user avatar
  • 25
3 votes
2 answers
4k 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: /usr/X11/...
user avatar
5 votes
2 answers
14k 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?
user avatar
  • 185
3 votes
1 answer
281 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 ...
user avatar
  • 185
1 vote
0 answers
2k 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 ...
user avatar
8 votes
1 answer
579 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 similar ...
user avatar
1 vote
1 answer
7k 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,
user avatar
4 votes
3 answers
4k 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 ...
user avatar
  • 930
3 votes
2 answers
8k 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 manipulation/...
user avatar
  • 167
1 vote
1 answer
197 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.... octave:19>...
user avatar
0 votes
1 answer
2k 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?
user avatar