Octave Definition and 35 Threads
-
MHB When to use equivalence relations? How to write it in octave?
Sometimes to help describe one expression, another expression is shown that produces identical results. The exact equivalence of expressions is indicated with ‘ ≡’. For example: rot90 ([1, 2; 3, 4], -1) ≡ rot90 ([1, 2; 3, 4], 3) ≡ rot90 ([1, 2; 3, 4], 7) What is the meaning of 'rot90;? What...- WMDhamnekar
- Thread
- Equivalence Equivalence relations Octave Relations
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Maple GNUPLOT 'file1.dat 2nd column' vs 'file2.dat 1st column'
How can I plot 'file1.dat 2nd column' vs 'file2.dat 1st column' in Gnuplot? If someone can help me with what code I need to write to do it, it will be very helpful.- Abhisheko07
- Thread
- Column Gnuplot Maple Octave
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Comp Sci Octave coding -- solving a quadratic equation and then using the roots
Hi , I had to solve a quadratic equation , i got two roots as an answer ( ans= x1 / x2) , and now i need to use one of those answers to complete further tasks like finding y from x+y=c so i need to use x1 and x2 from roots , i was wondering if that's possible and how- Ugnius
- Thread
- Coding Octave Quadratic Quadratic equation Roots
- Replies: 5
- Forum: Engineering and Comp Sci Homework Help
-
How Do You Correctly Parse and Convert Strings to Numbers in Octave?
Hi, I used to use MATLAB for this kind of thing, but now my pc broke and I need to run some scripts. I have a .txt file structured like this 10 -2.34454 12 -2.34566 14 -2.34677 ... ... and I want to store the data in two variables: the first is the "counting" (10, 12, ...) and the second is...- dRic2
- Thread
- File Numbers Octave Reading
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
D
Structuring Code for Global Parameters in Octave
I'm trying to do a fairly complete system analysis script in Octave that involves these steps: 1) Assign values to all fixed system parameters 2) Make various preliminary calculations based on system parameters 3) Solve a system of differential equations 4) Make various post-ODE solution...- Dr.D
- Thread
- Global Octave Parameters
- Replies: 7
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
D
Structure of code for ODE solution in Octave
The problem of interest at the moment is the solution of a simple damped oscillator problem, xddot+2*zeta*wn*xdot+wn^2*x = 0 Everything seems to work fine provided I include the values of zeta and wn inside the function that defines the derivative values. But zeta and wn are actually calculated...- Dr.D
- Thread
- Code Octave Ode Structure
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
D
Difficulties solving ODE in Octave
I'm new to using Octave 5.1.0, and a bit confused about how to solve ODEs with Octave. Let me show you a bit of code that I grabbed off a university web site: >> function xdot = pend(x,t) % pend.m xdot(1) = x(2); xdot(2) = - x(1) - 0.1*x(2); end >> sol=lsode( "pend",[0.1, 0.2], t =...- Dr.D
- Thread
- Difficulties Octave Ode
- Replies: 6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB Forcing the best fit line to pass through a certain point (Octave)
I have the following code in Octave: h = [29.3 25.3 19.7 16.0 10.9]; v = [0.53 0.47 0.37 0.29 0.21]; plot(h,v,'obk') hold on p = polyfit(h,v,1); y = polyval(p,h); plot(h,y,'-bk') And I get a good graph: I can extrapolate the best fit line using the following code: x = -1:0.01:11; >> y =...- Wrichik Basu
- Thread
- Fit Line Octave Point
- Replies: 12
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
D
Need to change display colors in Octave 5.1
I'm running Octave 5.1 on a Win10 system. I find the white background for the editor has far too much glare for old eyes. The orange text used in the editor does not have good contrast with the white background. I could go on, but I'm sure you can see where I want to go. Does anyone know how to...- Dr.D
- Thread
- Change Octave
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
T
Graduate How to find the Jordan Canonical Form of a 5x5 matrix and its steps?
To see the steps I have completed so far, https://math.stackexchange.com/q/3168898/261956 I think there are at least three more steps. The next step is finding the eigenvectors together with the generalized eigenvectors of each eigenvalue. Then we use this to construct the transition matrix...- TMO
- Thread
- Jordan canonical form Matrix Octave
- Replies: 1
- Forum: Linear and Abstract Algebra
-
Music Understanding Music's Irregular Octave Divisions
One octave is a doubling of frequency, say, 440Hz to 880Hz for A. If I understand correctly, that is divided into 12 equal divisions, denoted by all 12 naturals and sharps/flats. Of those 12, any given key tends to use only 8. Why do these 8, which are not evenly distributed throughout the...- DaveC426913
- Thread
- Octave
- Replies: 26
- Forum: Art, Music, History, and Linguistics
-
J
Graduate Calculate Third Octave Band Response from Narrowband Data
I have a signal that I am able to calculate through an acoustic model for airfoil noise. I am told that the model solves for a narrowband frequency response, however, my measurement data is provided in third-octave band representation. How do I convert my current dataset to the third octave...- jasonbot
- Thread
- Acoustics Band Data Dsp Filter Noise Octave Response Signal processing
- Replies: 1
- Forum: Other Physics Topics
-
J
MATLAB Octave integral computation help
Hello, I'm having some trouble with my octave coding and would appreciate any input on where the issue lies. The coding is as follows: age = [0:1:100]; %this is the age matrix, represented by a time = [0:1:100]; %this is the time matrix...- Jacob Marcum
- Thread
- Computation Integral Octave
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
Calculating Heat Loss in Long Pipe Transfer with Octave
Homework Statement Hello everyone, I hope that you guys could lend me a hand. I need to calculate the heat loss at any point over a long pipe while considering lambda of the pipe. I am trying to use octave to find a reasonable flow-rate to keep the temperature loss to a minimum at a reasonable...- Philip West
- Thread
- Flow rate Heat Heat loss Loss Octave Pipe Tempeature Temperature gradient
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
Am i being taught programming right?
I'm an 2nd year student aiming for the major "Geophysics", my course, "Numerical Programming for Geophysicists" is teaching me how to use Octave, not Matlab, and they force me to use the terminal, not the GUI, on top of that we use Linux, i am also learning Shell and Python. Regarding the...- Remixex
- Thread
- Linux Matlab Octave Programming
- Replies: 6
- Forum: STEM Academic Advising
-
M
Magnetic field representation in Octave
Homework Statement I need to represent in Octave (using the quiver function) the magnetic field lines around a long wire which carries an electric current around the wire. The magnetic field of an infinitely long straight wire can be obtained by applying Ampere's law.Homework Equations The...- Miss_Fire
- Thread
- Field Magnetic Magnetic field Octave Representation
- Replies: 1
- Forum: Introductory Physics Homework Help
-
Octave debug info randomly displayed
Okay, I'm not sure if one of the Octave settings got messed up or something, but all of a sudden, in the middle of my run, the Octave console displays a message and all of the debug commands, but doesn't throw an error: 'debug' is a function from the file C:\[path to debug.m] -- Function...- jlefevre76
- Thread
- Octave
- Replies: 13
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Can Vector Loops Simplify Theo Jansen's Linkage Mechanism Equations?
I'm studying the work of Theo Jansen and want to derive a set of general equations for motion, velocity and acceleration at each point of his linkage mechanism. I've read a general equation can be derived through the use of vector loops but I am having some trouble as my equations have 10...- Jawz
- Thread
- Loops Matlab Matrix Octave Vector
- Replies: 2
- Forum: Other Physics Topics
-
R
I plotting some data using octave
Hi, I'm having a lot of trouble finding a tutorial that would allow me to plot a set of data using octave. Everything seems to be teaching me how to plot functions. but say I have a list of data saved in a text file. How do I turn this into an xy scatter? Is this possible using octave? I...- richyw
- Thread
- Data Octave Plotting
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Help with Octave for system of ODEs
Hi, I am having a lot of trouble with Octave as I try to solve a system of ODEs. Any help is appreciated, I am a complete newbie with Octave and numerical solving. Let's try a very simple one. Suppose I had a pair of ODEs with a and b being functions of time \frac{da}{dt}=2ba...- McLaren Rulez
- Thread
- Octave Odes System
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
V
Searching for Octave Bugs - Need Help?
Hello guys, I am familiar with Matlab. And i know Octave is similar to Matlab. I am planning to fix a bug in Octave. Therefore, i would like to ask if anyone know about any bug in Octave (there must be many) or where can i find more information about the same? Thanks!- vivek91m
- Thread
- Octave
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
D
Octave with C++ on Fedora 16 | Finding oct.h
Hi all, I'm using Fedora 16 and installed Octave thru Yum. There is an example in the Octave manual of using Octave with C++ and it #includes a oct.h file. However, the Fedora build may not have compiled the oct.h library ? or I'm searching in the wrong places. Has anyone had any...- DonaldD
- Thread
- C++ Octave
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
LaTeX Software/Tools for Undergraduate Research: R, Octave, Latex & More
I am not sure whether I have posted in the right section. As the title says, I want to know which software/technology I need to be familiar with for making a research paper. I am planning to take an undergraduate research program in my university. It is required for us to make a report in...- Ashuron
- Thread
- Latex Octave Research Undergraduate Undergraduate research
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
E
Solving a differential equation numerically (in Octave, Matlab &c.)
Homework Statement I have a second-order non-linear differential equation that I am trying to solve. So far I have decomposed it into a system of 2 first-order equations, and have (possibly) determined that it cannot be solved analytically. So I am trying to do a nice numerical approximation...- ejlflop
- Thread
- Differential Differential equation Matlab Octave
- Replies: 1
- Forum: Calculus and Beyond Homework Help
-
Verifying the Interval of a Fifth vs an Octave in Early Greek Music
Problem (in my words): So, in music, the interval of an octave between two tones corresponds to doubling the frequency of the oscillation. In early Greek music, the interval of a fifth corresponded to multiplying the frequency by 3/2. With this definition of a fifth, prove that non of the...- silvermane
- Thread
- Interval Music Octave
- Replies: 6
- Forum: Calculus and Beyond Homework Help
-
R
MATLAB Running MATLAB Programs in Octave
Hello to all I downloaded Octave. I read that it will run MATLAB programs, but how do you do that? Thanks- ronaldoshaky
- Thread
- Matlab Octave Programs Running
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
Octave: Help with implementing midpoint rule
I got the code from my textbook and it is supposed to work in matlab function r = midpoint(a,b,f,n) f = fcnchk(f); h = (b-a)/n; x = (a+h*0.5):h:(b-h*0.5); y = feval(f,x); r = h*sum(y(1:n)); The code fails on feval I go tcnchk from wikipedia function f=fcnchk(x, n) f = x; end...- MaxManus
- Thread
- Octave
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
How can I display Greek letters in legends using Octave plot?
Homework Statement Hi! I'm sorry if this is misplaced, but I didn't know where else to post it. In my thesis I need greek letters to appear in a legend for a figure generated with octave. Now I normally know how to do that. F.e. if I say: legend('\alpha','\kappa') everythging works...- Angelos K
- Thread
- Octave Plot
- Replies: 10
- Forum: Introductory Physics Homework Help
-
M
MATLAB Octave vs Matlab: Will I Run Into Trouble?
Has anyone here used the open source Octave as opposed to Matlab? I don't have access to Matlab right now and Octave claims to be compatible to a high extent. Will I run into trouble if I learn Octave thoroughly then have to switch to Matlab for collaborative reasons?- mooktank
- Thread
- Matlab Octave
- Replies: 7
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
Finding a Cannon Problem to Solve with GNU Octave
Hi to all! My teacher told me to find a problem from the internet based on Cannon throwing a ball, and then to try to solve it using gnu octave. My problem is that I didnt find any problem with cannon. Can you please tell me where to find? Best Regards- platonas1
- Thread
- Cannon Octave
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
M
Help with Octave, installing package
Hey, I need some help with installing a package in Octave. I have never done this before so I'm not sure what I am doing wronge. I have downloaded econometrics, changed directory and typed: "pkg install econometrics-1.0.7.tar.gz" and I get """warning: implicit conversion from matrix to string...- MaxManus
- Thread
- Octave
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Y
Octave programming - some advice for newbie
Hi there - I am looking to get some help in programming with Octave. Trying to work out a random integer generator and well not really getting anywhere so far - I'm hoping someone can give an example or guide in terms of how I should go about doing it in Octave. Thanks- Yukisan
- Thread
- Octave Programming
- Replies: 1
- Forum: Programming and Computer Science
-
Which Version of Octave is Available on Campus?
Hello everyone. I recently had to use Octave on campus, and I noticed they had a newer version from the last time I used it. The interface is very much more like that of MATLAB's, with the history, file directory etc. on the left-hand side; but most importantly, it allowed you to have an...- qspeechc
- Thread
- Octave
- Replies: 3
- Forum: Programming and Computer Science
-
D
Octave vs Decade: What's the Difference?
Hi i was reading somewhere and i have found the following: loss: 6db/octave 20db/decade I know what db is but i don't know what octave is...- dervast
- Thread
- Octave
- Replies: 18
- Forum: Electrical Engineering
-
U
Need HELP getting started with octave.
Hi, appologies if this isn't the best forum for this question, I'd like to get some help (or find out where to get help) on using the open source "octave" maths program. It's a very specific question, I have to find out how to allow included (library) functions to be able to access my user...- uart
- Thread
- Octave
- Replies: 3
- Forum: General Math