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

 

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

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 Programming Questions!