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!
Test if a Number is a Palindrome without using any String Operations
181 Solvers
Check if number exists in vector
4687 Solvers
Determine the number of odd integers in a vector
444 Solvers
229 Solvers
437 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!