Test  Status  Code Input and Output 

1  Pass 
n = 1;
y_correct = 'a';
assert(isequal(your_fcn_name(n),y_correct))
array =
'abcdefghijklmnopqrstuvwxyz'
y =
[]
arr =
[]
append =
'a'
arr =
'a'
y =
'a'

2  Pass 
r = 2;
y_correct = 'abb';
assert(isequal(your_fcn_name(r),y_correct))
array =
'abcdefghijklmnopqrstuvwxyz'
y =
[]
arr =
[]
append =
'a'
arr =
'a'
y =
'a'
arr =
[]
append =
'b'
arr =
'b'
append =
'b'
arr =
'bb'
y =
'abb'

3  Pass 
n = 5;
y_correct = 'abbcccddddeeeee';
assert(isequal(your_fcn_name(n),y_correct))
array =
'abcdefghijklmnopqrstuvwxyz'
y =
[]
arr =
[]
append =
'a'
arr =
'a'
y =
'a'
arr =
[]
append =
'b'
arr =
'b'
append =
'b'
arr =
'bb'
y =
'abb'
arr =
[]
append =
'c'
arr =
'c'
append =
'c'
arr =
'cc'
append =
'c'
arr =
'ccc'
y =
'abbccc'
arr =
[]
append =
'd'
arr =
'd'
append =
'd'
arr =
'dd'
append =
'd'
arr =
'ddd'
append =
'd'
arr =
'dddd'
y =
'abbcccdddd'
arr =
[]
append =
'e'
arr =
'e'
append =
'e'
arr =
'ee'
append =
'e'
arr =
'eee'
append =
'e'
arr =
'eeee'
append =
'e'
arr =
'eeeee'
y =
'abbcccddddeeeee'

4  Pass 
ty =18
s_correct ='abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrr'
assert(strcmp(your_fcn_name(ty),s_correct))
ty =
18
s_correct =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrr'
array =
'abcdefghijklmnopqrstuvwxyz'
y =
[]
arr =
[]
append =
'a'
arr =
'a'
y =
'a'
arr =
[]
append =
'b'
arr =
'b'
append =
'b'
arr =
'bb'
y =
'abb'
arr =
[]
append =
'c'
arr =
'c'
append =
'c'
arr =
'cc'
append =
'c'
arr =
'ccc'
y =
'abbccc'
arr =
[]
append =
'd'
arr =
'd'
append =
'd'
arr =
'dd'
append =
'd'
arr =
'ddd'
append =
'd'
arr =
'dddd'
y =
'abbcccdddd'
arr =
[]
append =
'e'
arr =
'e'
append =
'e'
arr =
'ee'
append =
'e'
arr =
'eee'
append =
'e'
arr =
'eeee'
append =
'e'
arr =
'eeeee'
y =
'abbcccddddeeeee'
arr =
[]
append =
'f'
arr =
'f'
append =
'f'
arr =
'ff'
append =
'f'
arr =
'fff'
append =
'f'
arr =
'ffff'
append =
'f'
arr =
'fffff'
append =
'f'
arr =
'ffffff'
y =
'abbcccddddeeeeeffffff'
arr =
[]
append =
'g'
arr =
'g'
append =
'g'
arr =
'gg'
append =
'g'
arr =
'ggg'
append =
'g'
arr =
'gggg'
append =
'g'
arr =
'ggggg'
append =
'g'
arr =
'gggggg'
append =
'g'
arr =
'ggggggg'
y =
'abbcccddddeeeeeffffffggggggg'
arr =
[]
append =
'h'
arr =
'h'
append =
'h'
arr =
'hh'
append =
'h'
arr =
'hhh'
append =
'h'
arr =
'hhhh'
append =
'h'
arr =
'hhhhh'
append =
'h'
arr =
'hhhhhh'
append =
'h'
arr =
'hhhhhhh'
append =
'h'
arr =
'hhhhhhhh'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhh'
arr =
[]
append =
'i'
arr =
'i'
append =
'i'
arr =
'ii'
append =
'i'
arr =
'iii'
append =
'i'
arr =
'iiii'
append =
'i'
arr =
'iiiii'
append =
'i'
arr =
'iiiiii'
append =
'i'
arr =
'iiiiiii'
append =
'i'
arr =
'iiiiiiii'
append =
'i'
arr =
'iiiiiiiii'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiii'
arr =
[]
append =
'j'
arr =
'j'
append =
'j'
arr =
'jj'
append =
'j'
arr =
'jjj'
append =
'j'
arr =
'jjjj'
append =
'j'
arr =
'jjjjj'
append =
'j'
arr =
'jjjjjj'
append =
'j'
arr =
'jjjjjjj'
append =
'j'
arr =
'jjjjjjjj'
append =
'j'
arr =
'jjjjjjjjj'
append =
'j'
arr =
'jjjjjjjjjj'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjj'
arr =
[]
append =
'k'
arr =
'k'
append =
'k'
arr =
'kk'
append =
'k'
arr =
'kkk'
append =
'k'
arr =
'kkkk'
append =
'k'
arr =
'kkkkk'
append =
'k'
arr =
'kkkkkk'
append =
'k'
arr =
'kkkkkkk'
append =
'k'
arr =
'kkkkkkkk'
append =
'k'
arr =
'kkkkkkkkk'
append =
'k'
arr =
'kkkkkkkkkk'
append =
'k'
arr =
'kkkkkkkkkkk'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkk'
arr =
[]
append =
'l'
arr =
'l'
append =
'l'
arr =
'll'
append =
'l'
arr =
'lll'
append =
'l'
arr =
'llll'
append =
'l'
arr =
'lllll'
append =
'l'
arr =
'llllll'
append =
'l'
arr =
'lllllll'
append =
'l'
arr =
'llllllll'
append =
'l'
arr =
'lllllllll'
append =
'l'
arr =
'llllllllll'
append =
'l'
arr =
'lllllllllll'
append =
'l'
arr =
'llllllllllll'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllll'
arr =
[]
append =
'm'
arr =
'm'
append =
'm'
arr =
'mm'
append =
'm'
arr =
'mmm'
append =
'm'
arr =
'mmmm'
append =
'm'
arr =
'mmmmm'
append =
'm'
arr =
'mmmmmm'
append =
'm'
arr =
'mmmmmmm'
append =
'm'
arr =
'mmmmmmmm'
append =
'm'
arr =
'mmmmmmmmm'
append =
'm'
arr =
'mmmmmmmmmm'
append =
'm'
arr =
'mmmmmmmmmmm'
append =
'm'
arr =
'mmmmmmmmmmmm'
append =
'm'
arr =
'mmmmmmmmmmmmm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmm'
arr =
[]
append =
'n'
arr =
'n'
append =
'n'
arr =
'nn'
append =
'n'
arr =
'nnn'
append =
'n'
arr =
'nnnn'
append =
'n'
arr =
'nnnnn'
append =
'n'
arr =
'nnnnnn'
append =
'n'
arr =
'nnnnnnn'
append =
'n'
arr =
'nnnnnnnn'
append =
'n'
arr =
'nnnnnnnnn'
append =
'n'
arr =
'nnnnnnnnnn'
append =
'n'
arr =
'nnnnnnnnnnn'
append =
'n'
arr =
'nnnnnnnnnnnn'
append =
'n'
arr =
'nnnnnnnnnnnnn'
append =
'n'
arr =
'nnnnnnnnnnnnnn'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnn'
arr =
[]
append =
'o'
arr =
'o'
append =
'o'
arr =
'oo'
append =
'o'
arr =
'ooo'
append =
'o'
arr =
'oooo'
append =
'o'
arr =
'ooooo'
append =
'o'
arr =
'oooooo'
append =
'o'
arr =
'ooooooo'
append =
'o'
arr =
'oooooooo'
append =
'o'
arr =
'ooooooooo'
append =
'o'
arr =
'oooooooooo'
append =
'o'
arr =
'ooooooooooo'
append =
'o'
arr =
'oooooooooooo'
append =
'o'
arr =
'ooooooooooooo'
append =
'o'
arr =
'oooooooooooooo'
append =
'o'
arr =
'ooooooooooooooo'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooooooooooooo'
arr =
[]
append =
'p'
arr =
'p'
append =
'p'
arr =
'pp'
append =
'p'
arr =
'ppp'
append =
'p'
arr =
'pppp'
append =
'p'
arr =
'ppppp'
append =
'p'
arr =
'pppppp'
append =
'p'
arr =
'ppppppp'
append =
'p'
arr =
'pppppppp'
append =
'p'
arr =
'ppppppppp'
append =
'p'
arr =
'pppppppppp'
append =
'p'
arr =
'ppppppppppp'
append =
'p'
arr =
'pppppppppppp'
append =
'p'
arr =
'ppppppppppppp'
append =
'p'
arr =
'pppppppppppppp'
append =
'p'
arr =
'ppppppppppppppp'
append =
'p'
arr =
'pppppppppppppppp'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooooooooooooopppppppppppppppp'
arr =
[]
append =
'q'
arr =
'q'
append =
'q'
arr =
'qq'
append =
'q'
arr =
'qqq'
append =
'q'
arr =
'qqqq'
append =
'q'
arr =
'qqqqq'
append =
'q'
arr =
'qqqqqq'
append =
'q'
arr =
'qqqqqqq'
append =
'q'
arr =
'qqqqqqqq'
append =
'q'
arr =
'qqqqqqqqq'
append =
'q'
arr =
'qqqqqqqqqq'
append =
'q'
arr =
'qqqqqqqqqqq'
append =
'q'
arr =
'qqqqqqqqqqqq'
append =
'q'
arr =
'qqqqqqqqqqqqq'
append =
'q'
arr =
'qqqqqqqqqqqqqq'
append =
'q'
arr =
'qqqqqqqqqqqqqqq'
append =
'q'
arr =
'qqqqqqqqqqqqqqqq'
append =
'q'
arr =
'qqqqqqqqqqqqqqqqq'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqq'
arr =
[]
append =
'r'
arr =
'r'
append =
'r'
arr =
'rr'
append =
'r'
arr =
'rrr'
append =
'r'
arr =
'rrrr'
append =
'r'
arr =
'rrrrr'
append =
'r'
arr =
'rrrrrr'
append =
'r'
arr =
'rrrrrrr'
append =
'r'
arr =
'rrrrrrrr'
append =
'r'
arr =
'rrrrrrrrr'
append =
'r'
arr =
'rrrrrrrrrr'
append =
'r'
arr =
'rrrrrrrrrrr'
append =
'r'
arr =
'rrrrrrrrrrrr'
append =
'r'
arr =
'rrrrrrrrrrrrr'
append =
'r'
arr =
'rrrrrrrrrrrrrr'
append =
'r'
arr =
'rrrrrrrrrrrrrrr'
append =
'r'
arr =
'rrrrrrrrrrrrrrrr'
append =
'r'
arr =
'rrrrrrrrrrrrrrrrr'
append =
'r'
arr =
'rrrrrrrrrrrrrrrrrr'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrr'

Extract leading nonzero digit
979 Solvers
309 Solvers
Determine the number of odd integers in a vector
330 Solvers
252 Solvers
07  Common functions and indexing 6
284 Solvers