MATLAB
MAE 101B Homework 3: MATLAB Spring 2020 (Due April 27, 2020)
In the Homework folder there are 2 files, data 1 and data 2, that consists of signals with echoes (“matlab”). Upload the files in MATLAB (readmatrix()) and utilize the xcorr command (as shown in the tutorial) to find the time lag between each echo in data 1 and data 2. Use Fs (sampling frequency) of 7418 (Fs=7418). Upload your *.m script file onto the dropbox. Place your answer (the time lag amount for each data) as a comment at the end of the script file