MATLAB: Hi everyone! How do i want to plot graph the graph for this values

student

>> A = [1 1 ; -1 3 ]
A = 1 1
-1 3
>> B = [ 7 ; 1 ]
B =7
1
>> AB = [ A B ]
AB = 1 1 7
-1 3 1
>> rref(AB)
ans =1 0 5
0 1 2

Best Answer

To plot single points use scatter:
x = 5
y = 2
scatter(x,y)
plot can not visualize single points, but vectors:
x = 5:10
y = 2:2:12
plot(x,y)