function myRand(n)
% This is a companion to run_matlab_aj batch script to demonstrate
% qsub -t option. It computes a random matrix, then save output of 
% task to a file with name indicative of task
A = rand(n);                     % computes random matrix
filname=['output_' num2str(n)];   % name of file to be saved
save(filname, 'A');               % saves A in a mat file
