Test  Status  Code Input and Output 

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

2  Pass 
r = 2;
y_correct = 'abb';
assert(isequal(your_fcn_name(r),y_correct))
y =
[]
c =
0
c =
1
x =
'a'
y =
'a'
c =
2
x =
'b'
y =
'ab'
x =
'b'
y =
'abb'

3  Pass 
n = 5;
y_correct = 'abbcccddddeeeee';
assert(isequal(your_fcn_name(n),y_correct))
y =
[]
c =
0
c =
1
x =
'a'
y =
'a'
c =
2
x =
'b'
y =
'ab'
x =
'b'
y =
'abb'
c =
3
x =
'c'
y =
'abbc'
x =
'c'
y =
'abbcc'
x =
'c'
y =
'abbccc'
c =
4
x =
'd'
y =
'abbcccd'
x =
'd'
y =
'abbcccdd'
x =
'd'
y =
'abbcccddd'
x =
'd'
y =
'abbcccdddd'
c =
5
x =
'e'
y =
'abbcccdddde'
x =
'e'
y =
'abbcccddddee'
x =
'e'
y =
'abbcccddddeee'
x =
'e'
y =
'abbcccddddeeee'
x =
'e'
y =
'abbcccddddeeeee'

4  Pass 
ty =18
s_correct ='abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrr'
assert(strcmp(your_fcn_name(ty),s_correct))
ty =
18
s_correct =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooooooooooooppppppppppppppppqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrr'
y =
[]
c =
0
c =
1
x =
'a'
y =
'a'
c =
2
x =
'b'
y =
'ab'
x =
'b'
y =
'abb'
c =
3
x =
'c'
y =
'abbc'
x =
'c'
y =
'abbcc'
x =
'c'
y =
'abbccc'
c =
4
x =
'd'
y =
'abbcccd'
x =
'd'
y =
'abbcccdd'
x =
'd'
y =
'abbcccddd'
x =
'd'
y =
'abbcccdddd'
c =
5
x =
'e'
y =
'abbcccdddde'
x =
'e'
y =
'abbcccddddee'
x =
'e'
y =
'abbcccddddeee'
x =
'e'
y =
'abbcccddddeeee'
x =
'e'
y =
'abbcccddddeeeee'
c =
6
x =
'f'
y =
'abbcccddddeeeeef'
x =
'f'
y =
'abbcccddddeeeeeff'
x =
'f'
y =
'abbcccddddeeeeefff'
x =
'f'
y =
'abbcccddddeeeeeffff'
x =
'f'
y =
'abbcccddddeeeeefffff'
x =
'f'
y =
'abbcccddddeeeeeffffff'
c =
7
x =
'g'
y =
'abbcccddddeeeeeffffffg'
x =
'g'
y =
'abbcccddddeeeeeffffffgg'
x =
'g'
y =
'abbcccddddeeeeeffffffggg'
x =
'g'
y =
'abbcccddddeeeeeffffffgggg'
x =
'g'
y =
'abbcccddddeeeeeffffffggggg'
x =
'g'
y =
'abbcccddddeeeeeffffffgggggg'
x =
'g'
y =
'abbcccddddeeeeeffffffggggggg'
c =
8
x =
'h'
y =
'abbcccddddeeeeeffffffgggggggh'
x =
'h'
y =
'abbcccddddeeeeeffffffggggggghh'
x =
'h'
y =
'abbcccddddeeeeeffffffggggggghhh'
x =
'h'
y =
'abbcccddddeeeeeffffffggggggghhhh'
x =
'h'
y =
'abbcccddddeeeeeffffffggggggghhhhh'
x =
'h'
y =
'abbcccddddeeeeeffffffggggggghhhhhh'
x =
'h'
y =
'abbcccddddeeeeeffffffggggggghhhhhhh'
x =
'h'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhh'
c =
9
x =
'i'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhi'
x =
'i'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhii'
x =
'i'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiii'
x =
'i'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiii'
x =
'i'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiii'
x =
'i'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiii'
x =
'i'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiii'
x =
'i'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiii'
x =
'i'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiii'
c =
10
x =
'j'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiij'
x =
'j'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijj'
x =
'j'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjj'
x =
'j'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjj'
x =
'j'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjj'
x =
'j'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjj'
x =
'j'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjj'
x =
'j'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjj'
x =
'j'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjj'
x =
'j'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjj'
c =
11
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjk'
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkk'
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkk'
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkk'
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkk'
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkk'
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkk'
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkk'
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkk'
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkk'
x =
'k'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkk'
c =
12
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkl'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkll'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkklll'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllll'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkklllll'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllll'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkklllllll'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllll'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkklllllllll'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllll'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkklllllllllll'
x =
'l'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllll'
c =
13
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmm'
x =
'm'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmm'
c =
14
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnn'
x =
'n'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnn'
c =
15
x =
'o'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnno'
x =
'o'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoo'
x =
'o'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooo'
x =
'o'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooo'
x =
'o'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnooooo'
x =
'o'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnnnnnnnnnnnnnnoooooo'
x =
'o'
y =
'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjjkkkkkkkkkkkllllllllllllmmmmmmmmmmmmmnn...

1174 Solvers
552 Solvers
388 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
2774 Solvers
Matlab Basics  y as a function of x
294 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!