octave | GNU Octave Mirror
kandi X-RAY | octave Summary
kandi X-RAY | octave Summary
GNU Octave is a high-level interpreted language, primarily intended for numerical computations. It provides capabilities for the numerical solution of linear and nonlinear problems, and for performing other numerical experiments. It also provides extensive graphics capabilities for data visualization and manipulation. GNU Octave is normally used through its interactive interface (CLI and GUI), but it can also be used to write non-interactive programs. The GNU Octave language is quite similar to Matlab so that most programs are easily portable. GNU Octave is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GNU Octave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Octave; see the file COPYING. If not, see
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of octave
octave Key Features
octave Examples and Code Snippets
Community Discussions
Trending Discussions on octave
QUESTION
I'm using octave for plotting subplots in same plot and want to add general title isn't there any builtin function like sgtitle
in matlab as in that this old question
there was a solution but not using any cool builtin functions and octave dosen't .also here Octave - Bugs: bug #55019, new sgtitle function I find there is sgtitle
in octave but can't find doc or package name or any thing ...is it not fully implemnted yet or some alternative ???
I'm asking about package or bultin function not implementation I'll write or copy from someone
...ANSWER
Answered 2021-Apr-20 at 08:45Depends on your definition of "builtin function" vs 'workaround'.
A full-window title is simply a title positioned with respect to an empty 'whole window' axis, as opposed to subtitles which are positioned with respect to subplots which take up only a fraction of the window at specific positions.
Therefore the 'builtin' way to add a title on an empty whole-window axis, is to simply add a title on an empty whole-window axis.
QUESTION
I'm aware that I need a user action to start Web Audio on mobile. However I have followed the recommendation to resume (in the case of Tone.js call Tone.start()) on user action but it still don't work. Here are the relevant parts of my code:
...ANSWER
Answered 2021-Jun-04 at 13:05That Tone code looks correct. I simplified it in a CodePen and it worked on mobile on first click (iOS).
QUESTION
I'm using Eigen's Levenberg-Marquardt implementation and wondering how to set some boundaries on the parameters which should be optimized.
As I'm migrating some GNU octave programs to Eigen I expected that there might be some boundaries which can be easily provided as parameters to the module.
The layout of my implemenation is nearly the same as in this example. I'm not providing the df() implemenatation but rather use Eigen::NumericalDiff in order to approximate it.
So how do I enforce some boundaries on the parameters which are supplied to minimize()? I thought about setting the errors(fvec) in the operator() to some high values when leaving my expected ranges, but in some small tests this resulted in strange results.
...ANSWER
Answered 2021-Jun-04 at 08:42I found a solution which is at least working for me.
The idea is to increase the error vector once the parameters are leaving their sanity boundaries.
This can be achieved by the following function:
QUESTION
I'm trying to create a FBM texture using the module perlin-noise
, but it takes a very long time to execute. I've implemented multiprocessing
, only to find that the program was still running off a single core. I've tried looking for other people with the same problem, but most threads were 7+ years old and / or involved problems and solutions related to different OSs.
My OS is Windows 8.1, I have a quad-core CPU, and I'm running Python 3.9.2
Here is the program:
...ANSWER
Answered 2021-May-27 at 10:24Reason why it only use one Process is simple. You only passed 1-length list in Pool.map
.
What Pool(n).map(function, iterable)
does is, applying provided funtion to each element of provided iterable
(in this case, list
) with n
number of worker processes.
Since you only have 128 in nums
it's only creating one task thus no other processes are ever used.
Proper usage would look like this:
QUESTION
I've got an array of objects of this signature:
...ANSWER
Answered 2021-May-26 at 06:27Array.prototype.map() returns an array of elments returned from callback function. In your case it is an array:
QUESTION
I have confusion regarding gnu octave, please clear
What is abbreviation of gnu? Google search returns "GNUs not unix" but i can't understand meaning of that, please elaborate
...ANSWER
Answered 2021-May-23 at 15:10Octave is part of the GNU project (see also wikipedia's page on the GNU project) which has a collection of many software packages The GNU project has many many projects and they are often named GNU something. For example, GNU Emacs is another very common GNU package.
It is common to drop the GNU part of the name but it's technically correct to include them in most cases. Personally, in less formal contexts or when I need to refer to it many times, I just refer to Octave as Octave, otherwise I use GNU Octave.
Regarding the meaning of "GNU" itself:
- "GNU" means "GNU is Not Unix".
- "GNU" in "GNU is Not Unix" means "GNU is Not Unix".
- "GNU" in "GNU is Not Unix is Not Unix".
- "GNU" in "GNU is Not Unix is Not Unix is Not Unix".
This is called a recursive acronym. It is a joke that refers to GNU being similar to UNIX but not being UNIX.
QUESTION
GNU Octave, Version 6.1.0, using the GUI:
Is there a way to clear all variables that are listed in the work environment without restarting Octave and without clicking and clearing every single variable?
This is needed for a cold start when switching to a new task, when you still want to keep opened the already opened files.
...ANSWER
Answered 2021-May-22 at 12:56Taken from the helpful comments, here are the ways to choose from:
Type "clear" in the editor.
Edit->Clear Workspace
in the menu.Not recommended of course, but possible: you could also just close the GUI and open it again. Then, you should at best use the setting to re-open tabs from the previous session when you close the GUI and open it again. See
Edit -> Preferences -> Editor -> File-Handling -> Restore Editor Tabs from previous session on startup or when editor is shown again after closing
QUESTION
I have a problem with non-negative matrix factorization in octave. I try to estimate synergies from Emg-data, but octave only lets me do this for two or more synergies, but not for one. I was able to reproduce the problem with the following code. nmf_bpas is from the linear-algebra pkg from octave-forge.
...ANSWER
Answered 2021-May-20 at 17:34This seems to be a bug in nmf_bpas
.
From what I can tell, the bug is on line 373. Change
QUESTION
ANSWER
Answered 2021-May-18 at 13:18I don't use Octave, but based on the instructions on https://octave.sourceforge.io/, you should try
QUESTION
I am trying to solve the following ODE using Octave, and in particular the function ode45.
dx/dt = x(1-x/2), 0<= t <= 10
with the initial condition x(0) = 0.5
But the graphs I get are not what I expect.
I think that the graph with red crosses represents x' vs x and not x vs t.
The code is the following:
...ANSWER
Answered 2021-May-16 at 12:30ode45
expects the ODE function to have arguments in the order (time, state)
, so exactly the other way around. What you effectively did was integrate t-t^2/2
, and the resulting function 0.5+t^2/2-t^3/6
is what you got in the plot.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install octave
[GNU Make](https://www.gnu.org/software/make/)
[GNU G](https://gcc.gnu.org/) or another C11 compiler
[GNU Fortran](https://gcc.gnu.org/fortran/), another Fortran 77 compiler, or [f2c](http://www.netlib.org/f2c/)
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page