Question: Write a MATLAB program to prompt the user to enter a vector containing the x and y and the size of the side of square.

Write a MATLAB program to prompt the user to enter a vector containing the x and y and the size of the side of square. Your program should plot the square and prompt the user for another entry. if you enter in 0,0 it should terminate the program. basically the two vector values x and y will keep forming squares till terminated

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!