This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Brian
on 13 Jul 2015
function m = timestables(n)
for i=1:n
for j=1:n
m(i,j)=i*j;
end
end
%apparently this doesn't work even though MatLab says it works for any size
Suggested Problems
-
Convert a numerical matrix into a cell array of strings
2070 Solvers
-
Sum the numbers on the main diagonal
590 Solvers
-
15494 Solvers
-
475 Solvers
-
798 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!