Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- N = 8;
- miasta = zeros(N,3);
- for i=1:N
- miasta(i,1) = i;
- miasta(i,2) = 10*rand(1);
- miasta(i,3) = 10*rand(1);
- end
- scatter(miasta(:,2), miasta(:,3));
- for j=1:N
- text(miasta(j,2)+0.15, miasta(j,3)+0.15, num2str(miasta(j,1)));
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement