This solution is outdated. To rescore this solution, sign in.
-
1 Comment
mec
on 12 Oct 2015
No need to apply loop here, m=[1:n]'*[1:n] works fine.
function m = timestables(n)
m=(1:n)'*(1:n);
end
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!