Category Archives: GNU Octave

I use GNU-Octave for my mathematics work. 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.
* Octave is normally used through its interactive command line interface, but it can also be used to write non-interactive programs.
* The Octave language is quite similar to Matlab so that most programs are easily portable.
* Octave is FREE. It is distributed under the terms of the GNU General Public License.

While I use GNU-Octave , I learn a lot. This blog site is a log of my learning GNU-Octave.

Symmetrical Components

Symmetrical components of a poly-phase electrical power system are used to decide permissible imbalance in three phase power. This script shows how we can find these components using GNU Octave.

Posted in GNU Octave | Tagged , | Comments Off on Symmetrical Components

Linear Programming using GNU Octave

GNU Octave can solve linear programming problems to optimize outputs. Here is a simple two variable example of how the octave function “glpk” helps to optimize.

Posted in GNU Octave | Tagged , | Comments Off on Linear Programming using GNU Octave

Banana curvature equation

The Goal To study machine learning, I decided to find the equation of  banana curvature. The following photograph is processed further to find the equation of the banana curve.

Posted in GNU Octave | Tagged , | Comments Off on Banana curvature equation

Polyfit

We take readings while experimenting. Due to unavoidable experimental errors, points don’t follow some exact mathematical rule . To find this rule, we use “Polyfit” function from GNU Octave.

Posted in GNU Octave | Comments Off on Polyfit

Concave mirror for solar cooker

I had written a script to design a concave mirror for solar cooker using Scilab. I am posting a similar but faster script using GNU Octave.

Posted in GNU Octave | Tagged , , | Comments Off on Concave mirror for solar cooker

Sunrise-sunset calculator

GNU Octave can be used as a programmable calculator. Here, you can download an Octave script that can calculate sunrise and sunset time for any location on earth.

Posted in GNU Octave | Comments Off on Sunrise-sunset calculator

Diary

On the octave prompt, we can type commands and check the outputs. If that command is useful, we can include it in the script. These testing sessions can be recorded in the text format using the command “Diary”. Diary can … Continue reading

Posted in GNU Octave | Comments Off on Diary

Using FFT

FFT (fast fourier transform) is a method to find discrete fourier transform (DFT). To see the behaviour of a time domain signal in  the frequency domain, we use FFT.

Posted in GNU Octave | Tagged , | Comments Off on Using FFT

Induction motor model

An induction motor is used all over the world to drive mechanical load. I am presenting a mathematical model which plots its performance at various frequencies.

Posted in Electrical Engineering, GNU Octave | Comments Off on Induction motor model

The name of a script

Normally we give a convenient name to a file. In octave, it is a little tricky.

Posted in GNU Octave | Comments Off on The name of a script