Question: Write the MATLAB code necessary to complete the following tasks: Using the data file provided, use the load function to import the data set into
Write the MATLAB code necessary to complete the following tasks:
Using the data file provided, use the load function to import the data set into an array variable named trajectory. The data set represents the trajectory of a moving target in D space as a function of time.
Assign variables to columns though of the array to decribe the quantities of time, x y and z respectively.
Remove the offest from the time variable so the value at the starting index is zero.
Create a new column vector that contains the vector magnitude RMS value of each trajectory point in the data set.
Generate a figure containing a line plot of the magnitude values as a funciton of time. Be sure to include a plot title that contains your Western userid and appropriate axis labels.
Generate a second figure with a D plot showing the trajectory's evolution through time. Be sure to include titling and axis labels in a similar fashion.
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
