Home \ Author Archives: Yarpiz (page 2)

## Root Finding in MATLAB — Video Tutorial

In this video tutorial, “Root Finding Methods” has been reviewed and implemented using MATLAB. For watching full course of Numerical Computations, visit this page. Watch Online Four sections of this video tutorial are available on YouTube and they are embedded into this page as playlist. Video Files Section 1: Finding roots of polynomials using roots (ِYouTube) Section 2: Finding roots ...

## Least Squares in Python, JavaScript and MATLAB — Video Tutorial

In this video tutorial firstly the mathematical foundations of a special case of Least Squares method has been reviewed and then, using three programming languages, MATLAB, Python and JavaScript (using mathjs), the method has been implemented, from scratch. The video tutorial is available to watch online, via Yarpiz YouTube Channel. The instructor of this course is Dr. Mostapha Kalami Heris, ...

## How to Solve Difference Equations? — Video Tutorial

Difference Equations , aka. Recurrence Relations, are very similar to differential equations, but unlikely, they are defined in discrete domains (e.g. discrete time or space). In this video tutorial, the general form of linear difference equations and recurrence relations is discussed and solution approach, using eigenfunctions and eigenvalues is represented. Some examples, including Fibonacci Series, are investigated in the video ...

## 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 (ODEs), is discussed and then implemented using MATLAB and Python from scratch. As an example, the well-know Lotka-Volterra model (aka. the Predator-Prey model) is numerically simulated and solved using Runge-Kutta 4th order (RK4), in both languages, Python and MATLAB. After completing this tutorial, ...

## 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 examples are solved. One of the well-known problems formulated as LP model is the Transportation Problem, which ...

## YPEA: Yarpiz Evolutionary Algorithms

YPEA for MATLAB [+] is a general-purpose toolbox to define and solve optimization problems using Evolutionary Algorithms (EAs) and Metaheuristics. To use this toolbox, you just need to define your optimization problem and then, give the problem to one of the algorithms provided by YPEA, to get it solved. List of Provided Algorithms Currently, YPEA supports these algorithms to solve ...

## Particle Swarm Optimization (PSO) in Python

Previously we published implementation of Particle Swarm Optimization (PSO) in MATLAB. Now, the Python implementation of PSO is available to download. It is very easy to use and very similar to the MATLAB implementation. Also, a tutorial on PSO and its implementation is freely available, here [+]. Downloads The download link of this project follows. Particle Swarm Optimization (PSO) in ...

## NSGA-III: Non-dominated Sorting Genetic Algorithm, the Third Version — MATLAB Implementation

Jan and Deb, extended the well-know NSGA-II to deal with many-objective optimization problem, using a reference point approach, with non-dominated sorting mechanism. The newly developed algorithm is simply called: NSGA-III. The main reference paper is available to download, here. In this post, we are going to share with you, the MATLAB implementation of NSGA-III, as an open source project. The ...