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!
Back to basics 12 - Input Arguments
525 Solvers
middleAsColumn: Return all but first and last element as a column vector
387 Solvers
390 Solvers
Duplicate each element of a vector.
518 Solvers
377 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!