points = [
3 5;
2 1;
4 3;
5 1;
2 2;
]
height = size(points)(1);
width = size(points)(2);
disp(height);
disp(width);
for i = 1:height
x(i) = points(i, 1);
y(i) = points(i, 2);
endfor
disp(x);
disp(y);
hold on;
for i = 1:height
plot(x(i),y(i), 'ro');
endfor