Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 643 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 643 Bytes

MATLAB scripts for filtering and analyzing data from past game logs for UBC Thunderbots. Included screenshots of some of the changes I made to the C++ source code.

The program transfers the ball data log to an array with the filtered information we need.

How to Run MATLAB Scripts:

  1. Download the files
  2. Open the sample data "BallData.mat" in MATLAB.
  3. Run the scripts in the order: 1) table_to_array.m 2) straight_line_extraction.m 3) squarefit.m

The comments in the scripts explain what each table or array contains and how to read it. The scripts are separated to make testing and debugging more convenient.