Function that does this...




for l=1:320
for h=1:240
mat(l,h)=l;
mat2(l,h)=h;
end
end

i can't find that matlab function and i think i once used it.

Tnx
.