r/octave • • Jun 26 '26

How do I give octave more computer resources?

1 Upvotes

I've been using octave for a class, and it's great! One thing though, when generating something like a billion random numbers, it takes a loooong time and my computer isn't under much load during any of it. Is there any way I can give octave more resources, or something to have it use more than it is?


r/octave • • May 02 '24

Help me please hurry! What is the answer!

0 Upvotes

You want to create a 4-by-7 array of random numbers. Next your program moves through the array, element by element, and sets any value that is less than 0.2 to 0 and any value that is greater than (or equal to) 0.2 to 1.

 

Your code looks like this, with one line missing (replaced by ???). What command belongs in that line? 

A = rand(4,7);
[M,N] = size(A);
for j = 1:M
????????????????????
        if A(j,k) < 0.2
            A(j,k) = 0;
        else
            A(j,k) = 1;
        endif
    endfor
endfor

r/octave • • Apr 19 '22

¿Libros de octave?

3 Upvotes

Buen dia comunidad.

Estoy empezando con el tema de octave debido a la carrera de ingeniería y estoy buscando si alguien tiene libros de octave para compartir o recomendar.

Gracias. Saludos.


r/octave • • Jul 19 '25

How to Enlarge Text in Editor?

0 Upvotes

How can I make the font size larger in the editor? For example, where it says Clear environment in the attached image.


r/octave • • Sep 20 '18

Octave corrupts MacOS

0 Upvotes

Hi! Any Mac users manage to successfully installed Octave? I’ve tried installing through vagrant/VirtualBox/xquartz and my MacBook Pro OS(highSierria) was completely corrupted.


r/octave • • Sep 09 '16

I WANT OCTAVE TO GIVE ME THE RANGE OF NUMBERS AND NOT JUST THE AVERAGE. ALL VALUES OF R FROM THE GIVEN INPUT

0 Upvotes

V1 = [0.0967,1.985,3.004,3.997,4.99,6.04]; i1 = [0.01,0.02,0.04,0.05,0.06]; V2 = [0.677,0.806,0.86,0.89,0.91]; i2 = [0.0399,0.02357,0.01680,0.013606,0.01045]; R = (V2/i2); R


r/octave • • Jul 31 '22

How can I reuse the last result in a new equation?

1 Upvotes

Simple example:

>> 2 + 3

5

>> (ans) * 2

10

But it's not "(ans)", what is it?


r/octave • • Oct 28 '25

Matcont

0 Upvotes

I'm wondering if it is possible to run Matcont through Octave. In particular, what do I do with the MEX files that are included?


r/octave • • Jan 23 '26

Notebook.link: Create, share, and run Jupyter notebooks instantly in your browser!

Thumbnail reddit.com
1 Upvotes

r/octave • • Aug 06 '25

Help! New to Octave.

Post image
3 Upvotes

I keep clicking the run button but the graph is still not coming here. Why?


r/octave • • Jun 08 '22

PLS HELP

Thumbnail
gallery
3 Upvotes

r/octave • • Jan 29 '20

Octave image processing

3 Upvotes

I was wondering if there is any way to convert image pixels into a matrix of the pixel's X,y coordinates? Does anyone know how?


r/octave • • May 22 '13

Is it suitable for college assignment purposes?

3 Upvotes

I'm taking linear-alg this summer and it requires I submit MATLAB assignments. I've used neither of these things before. I'm just an open-source fiend, and I wanted to give this a shot instead of the alternatives with MATLAB. I can not say yet how he wants us to submit these assignments, but I suspect it will a file that we submit and he runs. I've been going through tutorials teaching myself how to use Octave before we have an assignment. It's nice, and I definitely enjoy it.


r/octave • • Mar 21 '26

Simplicity and efficiency of vectorization

3 Upvotes

r/octave • • Nov 12 '25

Octave for Mac?

3 Upvotes

Hey friends, we’ve been using Octave in my engineering clinics. I haven’t had issues with it despite being a Mac user but recently needed to download some packages (statistics, struct, and optim). I cannot, for the life of me, get it to work. I’ve tried going directly from my Mac’s terminal but it just won’t download the packages and the Octave site won’t load some of the files I need.

I am begging for some help here. My entire group is made up of Mac users.

(also yes, I will buy a proper laptop soon, my Mac was given to me years ago so I had to make due when I started college lol)


r/octave • • Jan 31 '20

Dark theme?

5 Upvotes

I found this:

https://github.com/SergioSoldado/octave-color-scheme

but it only changes the color of the terminal and editor panels. Is their a dark theme that completely reskins it? I'm looking for a VS code aesthetic.


r/octave • • Oct 19 '18

Octave test

0 Upvotes

Guys I will have an online quiz about octave in about 7 and a half hours, It only has a 20 min duration, is this topic active enough to answer my questions in time?


r/octave • • Oct 21 '25

New release (0.1.1) for the llms package

Thumbnail
github.com
8 Upvotes

Large Language Models for GNU Octave just got a new release (0.1.1) with support for thinking models and custom system prompt for advanced model personalization. Install the latest llms-0.1.1 with

pkg install -forge llms

r/octave • • Oct 28 '25

Large Language Models for GNU Octave

Thumbnail
gnu-octave.github.io
9 Upvotes

Happy to announce yet another release for the llms GNU Octave Package.

With this latest release (llms-0.1.2) support for tool-calling and embedding generation has been added.

  • Allow tool-capable LLMs to call functions written in native Octave code.

  • Use embedding LLMs to generate numeric vectors for semantic search.


r/octave • • Jul 18 '22

Octave-Based A.I.

10 Upvotes

I thought I'd share a long-term project I've put together in Octave (the GUI is in Swift), it's AutoML software, and as far as I know, it's literally the fastest on the market, by an enormous margin.

I spent a long time on the theory, but it wouldn't be possible without Octave's incredibly efficient use of CPUs / Memory.

There's a totally Free Version that you can download from the website:

www.blacktreeautoml.com

I'd definitely be interesting in connecting with other Octave developers, so feel free to send me an email (address is on the site).

Best,

Charles


r/octave • • Jun 26 '25

Octave doesnt find my functions, even if they are there

3 Upvotes

So I have the problem that Octave often says that functions are undefined. At first I thought maybe I had a typo, but that wasnt it. Then I thought maybe Im in the wrong folder, so it cant find the function.

So I checked that with the "what" function but it showed me the function I was trying to use, so it should be able to use it. Even if I copied the name of the function it showed me after using "what" it didnt work

But I figured it out, I have to restart the application and then it works. This only happens with functions I created after starting the app, but it doesnt happen with all the new functions, just sometimes. I tried stuff like renaming the function and changing my working directory and then changing it back, hoping it would refresh everything, but that didnt work as well.

Does somebody experience the same problem and is there a way to fix it without restarting the application?


r/octave • • Apr 14 '25

A brand new package providing extra data types missing from core Octave

6 Upvotes

r/octave • • Mar 30 '25

Need help calculating 3D Spherical Coordinate Triple Integral in Cartesian Coordinates

1 Upvotes

Hi, it's me again! I saw that Octave can calculate spherical coordinates but these coordinates needing to be cartesian first. I can convert the coordinates just fine. It's figuring out how to code the theta and phi, it seems, when establishing the coordinates.

I kept trying to enter this in:

x = (1+1/5*sin(6*theta)*sin(5*phi))*sin(phi)*cos(theta);

I also tried to make it simpler:

R = 1 + 1./5*sin(6*theta)*sin(5*phi);

But, I kept getting a message like this:

warning: passing floating-point values to sym is dangerous, see "help sym" warning: called from double_to_sym_ heuristic at line 50 column 7 sym at line 384 column 13 times at line 54 column 5. What code should I type to fix it?

I tried researching a way to find something that could work, but to no avail.

If somebody could please help me, that would be wonderful and super appreciated! Thank you!

P.S. I am using the Windows 9.4.0 version


r/octave • • Aug 05 '25

Help for an Octave noob

1 Upvotes

I'm an EE student and we're expected to learn Octave for circuit simulations. Quite frankly we've been provided little to no resources and I have no idea where to start with Octave. What should I do to learn the basics, then move on to circuit analysis?

Anything helps, Thank you


r/octave • • Jan 10 '26

How to reset plots?

Thumbnail
gallery
18 Upvotes

If I have zoomed, resized or moved a plot, how can I reset the plot to initial positions or conditions?

Thanks in advance.