Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = '3+5';
y_correct = 8;
assert(isequal(str_ari(x),y_correct))
ans =
8
|
2 | Pass |
x = '13*5';
y_correct = 65;
assert(isequal(str_ari(x),y_correct))
ans =
65
|
3 | Fail |
x = '145';
y_correct = 145;
assert(isequal(str_ari(x),y_correct))
ans =
65
|
1900 Solvers
Make one big string out of two smaller strings
1148 Solvers
07 - Common functions and indexing 1
338 Solvers
424 Solvers
445 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!