MATLAB: How to generate missing entries using random binary masks on an Image

binarybinary maskimagemaskmissing entries

Hello,
How to I produce incomplete matrix with missing values in the right image.
Screenshot from 2019-02-13 11-09-01.jpg
(A) original image (B) incomplete image