In music, an octave (Latin: octavus: eighth) or perfect octave (sometimes called the diapason) is the interval between one musical pitch and another with double its frequency. The octave relationship is a natural phenomenon that has been referred to as the "basic miracle of music", the use of which is "common in most musical systems". The interval between the first and second harmonics of the harmonic series is an octave.
In Western music notation, notes separated by an octave (or multiple octaves) have the same letter name and are of the same pitch class.
To emphasize that it is one of the perfect intervals (including unison, perfect fourth, and perfect fifth), the octave is designated P8. Other interval qualities are also possible, though rare. The octave above or below an indicated note is sometimes abbreviated 8a or 8va (Italian: all'ottava), 8va bassa (Italian: all'ottava bassa, sometimes also 8vb), or simply 8 for the octave in the direction indicated by placing this mark above or below the staff.
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...
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.
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
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...
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...
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...
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 =...
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 =...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
So I'm trying to figure out how to decompose the following using octave:
85000/[(s^2+250^2)(0.2s^2+40s+10000)]
I tried using the residue command but I think that only works if the polynomials have real roots, which these don't. When I do use residue I get the following:
b =...
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!
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...
Homework Statement
Hello!
Problem is as follows: during measurements laboratory we examined characteristics of a third octave and 10% filters, we were noting down two values at each step --> frequency (ranging from ~1000 to ~1600 Hz) and corresponding voltage. However, in order to read the...
Hey everyone,
So what I'm trying to do is to find the outgoing signal in function of the time, when
the transfer function of the filter is known and the incoming signal is a periodic piecewise function.
The incoming signal I(t)= 0 for -T/2<t<-T/4...
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...
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...
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...
Hi, I've just started using Octave and I'd like to use it to solve and plot a system of differential equations, but I keep getting the same error which I don't understand. What have I done wrong in my code?
Outline:
Initial conditions
x1 = 1
x2 = 1.27 x 10^-6
x3 = 0
t = 0 - 140 days...
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...
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...
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?
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
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...
I'm currently undertaking a course in Solid State Physics and my professor has asked us to undertake some work in the free software 'Octave'. I have not had any programming experience in my life and I am feeling very much out of my depth.
The lecturer gave us an initial file with the relevant...
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
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...
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...