90 likes | 197 Views
TIME DELAY DATABASE. AND ECULIDEAN DISTANCES. TIME DELAY DATABASE. Goals from last milestone: Choose between Excel or Matlab to use for Database. Done! We wrote code for a Matlab Database. Write code for Euclidean distance. Done! 3) Achieve localization.
E N D
TIME DELAY DATABASE AND ECULIDEAN DISTANCES
TIME DELAY DATABASE Goals from last milestone: Choose between Excel or Matlab to use for Database. Done! We wrote code for a Matlab Database. Write code for Euclidean distance. Done! 3) Achieve localization. In-Progress. 4) Construct or use a GUI tool to display coordinate values. In-Progress.
TIME DELAY DATABASE • For each sample point in the Test Space (180 Total) • Receive Onset values from each mic- 4 total • Use Onset values to get the abs. difference • Create a 1 dimensional (9 element array)
9 element array • Create the 9 element array • (x coordinate, y coordinate, z coordinate) • Difference between Onset 1 and Onset 2 • Difference between Onset 1 and Onset 3 • Difference between Onset 1 and Onset 4 • Difference between Onset 2 and Onset 3 • Difference between Onset 2 and Onset 4 • Difference between Onset 3 and Onset 4
9 element array • For each sample point.( 180 points) • (x, y, z, ab, ac, ad, bc, bd, cd) • Write the array in the database • Continue the loop!
Euclidean Distance • Once Database is complete, modify it for real-time and Euclidean distance.