Why not make it insist that you take an arbitrary number of parameters. There's no 'extra credit' in this problem.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 'a';
y = 'b';
y_correct = 'ab';
assert(isequal(your_fcn_name(x, y),y_correct))
|
2 | Pass |
%%
x = 'a';
y = 'a';
y_correct = 'ab';
assert(~isequal(your_fcn_name(x, y),y_correct))
|
1163 Solvers
831 Solvers
Back to basics 9 - Indexed References
392 Solvers
Duplicate each element of a vector.
518 Solvers
2099 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!