How to generate (random) test matrices

Java

    Use java.util.Random() or 

   Use the following simple class RandomMatrix to generate the matirix (which uses Random()).

C (Unix)

Take a look at randomMatrix. It contains a single function to generate the Random Matrix.

C (Visual Studio)

Take a look at RanMatrix. It contains a single function to generate the Random Matrix.

Note: The Matrices generated contain integers between 0 and 255.