function H = functionnoloops(n) % FUNCTIONNOLOOPS sets up an nxn matrix of random values % without using loops, instead it just calls the "vectorized" % version of Matlab's rand() function. H = rand(n,n); return;