Creating a X-shaped matrix using R and Python : <p>I am a newbie regarding programming, and as part of a homework I am asked to create a X shaped matrix in R and Python. I have no data to use, so I am thinking about using some random numbers. The point is that I have no idea how to code to get an X shaped matrix. I don't even know where to start. </p>

<p>I appreciate all the help you can provide. Thanks in advance!</p>
