Q:

Write a script that assigns values for the x coordinate and then y coordinate of a point, and then plots this using a green +

0

Write a script that assigns values for the x coordinate and then y coordinate of a point, and then plots this using a green +. 

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Ch3Ex14.m

% Prompt the user for the coordinates of a point and plot

% the point using a green +

x = input('Enter the x coordinate: ');

y = input('Enter the y coordinate: ');

plot(x,y, 'g+')

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now