Category: Numerical Programming

  • How to Write a C++ Kalman Filter from Scratch

    How to Write a C++ Kalman Filter from Scratch

    Few algorithms are used as frequently as the Kalman filter. Whether helping astronauts navigate through space, estimating the trajectories of a drone from noisy sensor data, or any other number of uses, the Kalman filter is a technique every engineer should know how to use. This post is not a guide on the theory of… Read more

  • Linear Regression – A simple guide

    Linear Regression – A simple guide
    ,

    Few tools exist that are used as widely as linear regression. Whether it’s cutting edge machine learning or making predictions about sports outcomes based on historical data, linear regression touches nearly all industries and problem spaces. In this post, I will cover the theory behind linear regression and walk through a simple C++ implementation available… Read more

  • Simulating Dynamics Using C++

    Simulating Dynamics Using C++

    Dynamics is the study of how objects move and respond to forces, and the techniques are used across many industries including aerospace, automotive, civil and more. When designing an engineering system, it can be expensive and unrealistic to go directly from a basic set of equations to a fully complete, working product. Simulation is a… Read more

  • Estimating Derivatives: A Guide to Numerical Differentiation

    Estimating Derivatives: A Guide to Numerical Differentiation

    Derivatives measure the rate of change of a quantity and are used across all fields of engineering. Whether you are trying to understand the dynamic motion of robots, modeling flow rates, or any other number of applications, being able to estimate derivates numerically, especially when they cannot be directly measured, is a crucial skills for… Read more

  • Bracketing Methods for Root-Finding

    Bracketing Methods for Root-Finding

    Engineering problems often involve finding the roots of a given function. In controls, we use root-finding to determine equilibrium points of a system. Graphics engineers use these techniques for finding intersections between objects. And there are so many more applications for this important class of techniques. In today’s post, I will be covering several of… Read more

  • Hello World!

    Hello World!

    Hi there! My name is Parker, welcome to my free blog on Numerical Programming, a topic I am extremely passionate about. What is Numerical Programming you might ask? There are a lot of definitions out there, but I prefer to break it down into five discrete steps. Engineering problems are all around us. Understanding how… Read more