The only thing I can think of doing is something like this
for N=[N]
eye(N)
end
It gets the correct answer, but I am not able to do this as stated it the problem.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!