title: How to use array values as matrix coordinates to insert values in the matrix
body: <p>I have two arrays x and y of size 4013. The values of x array are row indices and of y array are column indices. I want to create a matrix of size 512*512 and insert values using x and y indices. How can I do this ?</p>