image thumbnail
from Boggle! by Ryan
The classic word search game.

n=grid2n(i,j,Nj)
function n=grid2n(i,j,Nj)
n=i+(j-1)*Nj;

Contact us at files@mathworks.com