-
5 Comments
Show
2 older comments
Umur Ulas Harman
on 25 Jun 2020
function m = timestables(n)
y(1,1:n)=1:n;
y(1:n,1)=1:n;
for i=2:n
for j=2:n
y(i,j)=y(1,j)*y(i,1)
end
end
m = y;
end
源樹 上林
on 13 Aug 2020
a = repmat(1:n, n, 1);
m = a .* a';
or
m = (1:n) .* (1:n)';
Layale Bazzi
on 21 Nov 2020
m = (1:n)'*(1:n);
TIMOTHY PIERGIOVANNI
on 21 Apr 2021
m = [1:n]'*[1:n];
what is the true leading solution?
Brennan Hyde
on 29 Sep 2021
thanks dawg
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!