Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = 'abcde';
y_correct = 'ae';
assert(isequal(stringfirstandlast(x),y_correct))
|
2 | Fail |
x = 'a';
y_correct = 'aa';
assert(isequal(stringfirstandlast(x),y_correct))
|
3 | Fail |
x = 'codyrocks!';
y_correct = 'c!';
assert(isequal(stringfirstandlast(x),y_correct))
|
First non-zero element in each column
593 Solvers
364 Solvers
465 Solvers
2775 Solvers
461 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!