Solve Optimization Problems using MATLAB- Disciplined Approach Using fmincon()
In this optimization tutorial, we explain how to solve multi-variable optimization problems in MATLAB. We use the MATLAB function fmincon(). We explain how to define …
In this optimization tutorial, we explain how to solve multi-variable optimization problems in MATLAB. We use the MATLAB function fmincon(). We explain how to define …
In this post, we will learn how to numerically solve systems of nonlinear equations using the MATLAB programming language. These types of problems appear in …
In this post, we explain the purpose and basic usage of pull-up and pull-down resistors and we explain the purpose of interrupts in Raspberry Pi …
In this lecture, we introduce the concept of harmonic oscillators. We derive an equation of motion of a harmonic oscillator and derive an analytical solution. …
In this lecture, you will learn to sketch free-body and kinetic diagrams of a simple pendulum. Furthermore, you will learn to develop the equation of …
In this post, we explain how to connect a low-cost incremental rotary encoder (LPD3806-600BM) to a Raspberry Pi microcontroller. We provide detailed instructions with a …
In this post, we explain how to discretize and implement a Proportional Integral Derivative (PID), controller. To demonstrate the PID controller implementation, we use a …
In this post, we introduce an important numerical tool for analyzing and designing control systems. The name of this numerical tool is the Laplace transform. …
In this post, we provide an introduction to state-space models and explain how to simulate linear ordinary differential equations (ODEs) using the Python programming language. …
In this post, we explain how to model a DC motor and to simulate control input and disturbance responses of such a motor using MATLAB’s …