I cleaned up the problem statement and test suite.
Hi, Can you try middle justified format of stars ?
this solution
char(10*tril(ones(n))+22);
works on R2012b but fails on Cody!
977 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
1034 Solvers
391 Solvers
370 Solvers
492 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!