Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 'Tilda : ~';
y_correct = 742;
assert(isequal(str_to_number(x),742))
ans =
742
|
2 | Pass |
x = 'Practise more';
y_correct = 1294;
assert(isequal(str_to_number(x),1294))
ans =
1294
|
3 | Pass |
x = '1 last test';
y_correct = 997;
assert(isequal(str_to_number(x),997))
ans =
997
|
4 | Pass |
x = 'OK, Definitely the last!';
y_correct = 997;
assert(isequal(str_to_number(x),2121))
ans =
2121
|
3238 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
546 Solvers
184 Solvers
Deleting an element in a matrix
325 Solvers
154 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!