Write a script that assigns values for the x coordinate and then y coordinate of a point, and then plots this using a green +
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:3| Question number:14.3
All Answers
total answers (1)
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