I am trying to explain probability in MatLab to some students and want to first demonstrate probability in real life examples. I have four images, two red balls, one blue and a yellow, all 4 in Matlab as image(1)/(2)/(3) and (4). How can I make 2 by 2 grids and display all possible arrangments of the 4 images?
Thank You!