Derivation of the equations of motion and simulation for the acrobot, an under-actuated double pendulum robot.
Repositories
MatthewPeterKelly repositories
A few Matlab functions for creating and evaluating bezier curves.
Tutorial for event detection in Matlab - simulation of ball bouncing over hilly terrain.
Matlab implementation of the Bulirsch-Stoer method for solving initial value problems.
Tutorial for Chebyshev orthogonal polynomials, written in Matlab. Strongly inspired by the chebfun project.
Derivation and implementation of continuous-time finite-horizon Linear Quadratic Regulator
Trajectory Optimization in Matlab, specialized for problems with higher-derivatives (eg. jerk or snap) and / or implicit dynamics.
Matlab code for playing with the driven-damped-pendulum fractal
Computes gradient of f(x) = A(x) \ b(x) in Matlab.
Exponential smoothing for simple functions: max(), clamp(), abs(), ramp()...
Trajectory optimization to match fluence profiles.
A basic introduction to Matlab, guided towards simulation and analysis of dynamical systems
Tutorial: derive equations of motion for mechanical systems using Lagrange equations
Creates a Markov Decision Process model of a pendulum, then finds optimal swing-up policy.
The course website for 'Optimal Control for Robotics', which I taught at Tufts University in Spring 2018
An tutorial the goes over real-time animation in Matlab, as well as saving video files. Some advanced topics are covered as well.
A trajectory optimization library for Matlab
Matlab implementation of particle swarm optimization. Well documented with examples.
Derivation of a few different polynomial splines using the Matlab symbolic toolbox. Also includes interpolation and fitting routines.