Question: Problem 1 [ 1 7 marks ] . In 2 0 2 2 , Peter hiked the Pacific Crest Trail from Mexico to Canada. He

Problem 1[17 marks]. In 2022, 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 5X 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 2 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 10:11:39 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 3D walking trajectory for any 100 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: 1deg=110.574km
Longitude: 1 deg =111.320cos(latitude)km
 Problem 1[17 marks]. In 2022, Peter hiked the Pacific Crest Trail

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!