Question: Create a MATLAB script that: 1) Prompts the user to enter the name of an Excel spreadsheet containing vector information for a system of

Create a MATLAB script that: 1) Prompts the user to enter the name of an Excel spreadsheet containing vector information for a system of vectors that can have anywhere from 2 vectors to an infinite number of vectors 2) Imports the data from the Excel spreadsheet and save the data as a variable(s) a. The first column of the spreadsheet contains the x coordinate of a vector b. The second column of the spreadsheet contains the y coordinate of a vector c. The third column of the spreadsheet contains the z coordinate of a vector 3) Computes the x, y and z components of the resultant force (the sum of all the vectors) 4) Plots the system of vectors, and the resultant vector 5) Displays the x, y and z components of the resultant vector in the Command Window, in sentence form, back to the user. 6) Comment every line of code you write/wrote to explain what each command does Activate Win
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
