Question: Problem 1 [ 1 7 marks ] . In 2 0 2 2 , Peter hiked the Pacific Crest Trail from Mexico to Canada. He
Problem marks In Peter hiked the Pacific Crest Trail from Mexico to
Canada. He attempted to record every footstep of the trail using my smartwatch. The
data was gathered using a Garmin Fenix X tracking GPS location and altitude. Please be
aware that the data may not be entirely accurate or complete:
It may require some time to establish a GPS lock, resulting in brief periods where
certain sections may appear to have no data available.
GPS for speed estimation can be noisy, especially when walking.
Human error on my part sometimes he might forget to restart logging after a break.
In this problem, you can disregard these imperfections and are only required to analyze data
from a single day.
Download the trailGPS.csv file from the Assignment page on Canvas. You will need
the data in the time, latitude, longitude and elevation columns. Import the data into
MATLAB using the readtable command.
You'll need to tidy up the data before using it While manual cleaning is an option,
considering the substantial volume of data, you might prefer to perform this task pro
grammatically.
Hint: You will need to convert the time entry from something like :: to decimal
hours or whatever suitable time unit you want to use
Plot a map showing the walking path for that day.
Hint: using webmap in in MATLAB
Plot the D walking trajectory for any consecutive data points.
Get the approx hiking speed based on the provided data. Write a Matlab script that will
take a GPS log file and extract the instantaneous speed. Also, create a plot depicting the
instantaneous speed versus time.
Hint: The approximate conversion between latitude and longitude are:
latitude: deg
Longitude: deg latitude
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
