Home \ Tutorials (page 2)

Tutorials

Runge-Kutta Method in Python and MATLAB — Video Tutorial

In this video tutorial, the theory of Runge-Kutta Method (RK4) for numerical solution of ordinary differential equations, is discussed and then implemented using MATLAB and Python. As an example, the well-know Lotka-Volterra model (aka. Predator-Prey model) is simulated and solved using RK4, in both languages (Python & MATLAB). The video tutorial is available to watch online, via Yarpiz YouTube Channel. ...

Read More »

Linear Programming in MATLAB — Video Tutorial

In this video tutorial, the general structure of a Linear Programming (LP) model is reviewed and the general matrix form of LP problems, used by MATLAB, discussed. Then, using linprog function of MATLAB, which is used to deal with linear programming problems, some exmaples are solved. One of the well-known problems formulated as LP model is the Transportation Problem, which ...

Read More »

Particle Swarm Optimization (PSO) in MATLAB — Video Tutorial

In this video tutorial, implementation of Particle Swarm Optimization (PSO) in MATLAB is discussed in detail. In the first part, theoretical foundations of PSO is briefly reviewed. In the next two parts of this video tutorial, PSO is implemented line-by-line and from scratch, and every line of code is described in detail. After watching this video tutorial, you will be ...

Read More »