How to write a function in Wolfram Mathematica that returns the values 0,1,2,3 in random order and draw a diagram for it as shown in the picture using the DensityPlot function. Help please!!
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this community
RandomChoice[{1, 2, 3, 4}, 20]
and use it in your post if required. I don't understand how this sequence will result in this density plot, so please elaborate. $\endgroup$