Below are the files associated with my 3D pendulum Kalman filter. This includes the Arduino and MATLAB code.


The MATLAB code should run if all the following files are in the same folder and either of the main files Pendulum.m or Pendulum2D.m is run. The COM port must be changed to the correct one on the user computer and closeSerial.m must be run to stop the read process.