Watch this Author's files
Nice job Thomas, though it seems like you've switched sigmax and sigmay - comments?
Duane Hanselman: The nested loops are not necessary - use [rows,cols] = meshgrid(1:gsize(1),1:gsize(2)); and modify the remaining code to avoid them...
Great, very flexible, just what we want to have. THX
No big deal, Just works! THX a lot for sharing!
Contact us at files@mathworks.com