MATLAB: How can display points as coordinates

points array coordinates

I need to display points in two array as coordinates. How is it possible

Best Answer

x = rand(10,1) ;
y = rand(10,1) ;
plot(x,y,'.r')
text(x,y,strcat('(',num2str(x),',',num2str(y),')')) ;