Test  Status  Code Input and Output 

1  Pass 
n = 1;
y_correct = 'a';
assert(isequal(your_fcn_name(n),y_correct))
x =
'a'
y =
'a'

2  Pass 
r = 2;
y_correct = 'abb';
assert(isequal(your_fcn_name(r),y_correct))
x =
'ab'
y =
'a'
x =
'ab'
y =
'ab'
y =
'abb'

3  Pass 
n = 5;
y_correct = 'abbcccddddeeeee';
assert(isequal(your_fcn_name(n),y_correct))
x =
'abcde'
y =
'a'
x =
'abcde'
y =
'ab'
y =
'abb'
x =
'abcde'
y =
'abbc'
y =
'abbcc'
y =
'abbccc'
x =
'abcde'
y =
'abbcccd'
y =
'abbcccdd'
y =
'abbcccddd'
y =
'abbcccdddd'
x =
'abcde'
y =
'abbcccdddde'
y =
'abbcccddddee'
y =
'abbcccddddeee'
y =
'abbcccddddeeee'
y =
'abbcccddddeeeee'

4  Pass 
ty =18
s_correct ='abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrr'
assert(strcmp(your_fcn_name(ty),s_correct))
ty =
18
s_correct =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrr'
x =
'abcdefghijklmnopqr'
y =
'a'
x =
'abcdefghijklmnopqr'
y =
'ab'
y =
'abb'
x =
'abcdefghijklmnopqr'
y =
'abbc'
y =
'abbcc'
y =
'abbccc'
x =
'abcdefghijklmnopqr'
y =
'abbcccd'
y =
'abbcccdd'
y =
'abbcccddd'
y =
'abbcccdddd'
x =
'abcdefghijklmnopqr'
y =
'abbcccdddde'
y =
'abbcccddddee'
y =
'abbcccddddeee'
y =
'abbcccddddeeee'
y =
'abbcccddddeeeee'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeef'
y =
'abbcccddddeeeeeff'
y =
'abbcccddddeeeeefff'
y =
'abbcccddddeeeeeffff'
y =
'abbcccddddeeeeefffff'
y =
'abbcccddddeeeeeffffff'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeeffffffg'
y =
'abbcccddddeeeeeffffffgg'
y =
'abbcccddddeeeeeffffffggg'
y =
'abbcccddddeeeeeffffffgggg'
y =
'abbcccddddeeeeeffffffggggg'
y =
'abbcccddddeeeeeffffffgggggg'
y =
'abbcccddddeeeeeffffffggggggg'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeeffffffgggggggh'
y =
'abbcccddddeeeeeffffffggggggghh'
y =
'abbcccddddeeeeeffffffggggggghhh'
y =
'abbcccddddeeeeeffffffggggggghhhh'
y =
'abbcccddddeeeeeffffffggggggghhhhh'
y =
'abbcccddddeeeeeffffffggggggghhhhhh'
y =
'abbcccddddeeeeeffffffggggggghhhhhhh'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhh'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhi'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhii'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiii'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiii'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiii'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiii'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiii'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiii'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiii'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiij'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijj'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjj'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjj'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjj'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjj'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjj'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjj'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjj'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjj'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkk'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkl'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkklll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkklllll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkklllllll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkklllllllll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkklllllllllll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllll'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmm'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnn'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnno'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooooooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooooooooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooooooooooooo'
x =
'abcdefghijklmnopqr'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooooooooooooop'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooooooooooooopp'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkk...

11382 Solvers
3753 Solvers
Back to basics 22  Rotate a matrix
701 Solvers
Sum the numbers on the main diagonal
398 Solvers
516 Solvers