Plot a line between two points
clear all
close all
clc
x1=2;y1=3;x2=8;y2=7;
plot([x1 x2],[y1 y2])
p = plot(1:100,’*’);
p.MarkerSize = 10;
axis([1 100 1 100])clear all
close all
clc
x1=2;y1=3;x2=8;y2=7;
plot([x1 x2],[y1 y2])
p = plot(1:100,’*’);
p.MarkerSize = 10;
axis([1 100 1 100]) clear all
close all
clc
x1=2;y1=3;x2=8;y2=7;
plot([x1 x2],[y1 y2])
p = plot(1:100,’*’);
p.MarkerSize = 10;
axis([1 100 1 100]) point MATLAB Answers — New Questions