Answered You can hire a professional tutor to get the answer.

QUESTION

Write a MATLAB program to compute the sum of two 2-D vectors. You will prompt the user to input the x and y components of two vectors (four inputs).

Write a MATLAB program to compute the sum of two 2-D vectors.  You will prompt the user to input the x and y components of two vectors (four inputs).  Then your program will compute the x and y components of the resultant and then the magnitude and the direction of the resultant.  Last, your program should display the x and y components, plus the magnitude and direction for the polar coordinates.  The flowchart for the program is shown below.

The information displayed back to the user should be in the following format where your program will fill in the blanks with the computed information:

The x and y components of the resultant vector are _____ and _____, respectively

The magnitude and direction of the resultant vector are _____ and _____, respectively

Show more
Files: picture.png
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question