Plotting points in Matlab
plot function is used to plot variables in Matlab.
Example
>> y y = 6 3 5 9 20 42 21 12 55 22 >> x = [ 1 : 10 ] x = 1 2 3 4 5 6 7 8 9 10 >> y = [6 3 5 9 20 42 21 12 55 22] y = 6 3 5 9 20 42 21 12 55 22 >> plot(x,y,'.b') % .b for blue dots, you may also remove it, it will work