How to generate random points
Show older comments
I need help with generating random points and plot it onto my binary image (black and white).
Answers (2)
Ollie A
on 31 Jan 2019
R = randi([0 1], 1000);
imshow(R);
Is this what you're looking for?
Siena Nason
on 26 Sep 2019
0 votes
R = randi([0 1], 1000);
imshow(R);
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!