Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 'Macbeth';
y_correct = false;
assert(isequal(two_b_or_not_two_b(x),y_correct))
ans =
0
|
2 | Pass |
%%
x = 'Publius Cornelius Dolabella';
y_correct = true;
assert(isequal(two_b_or_not_two_b(x),y_correct))
ans =
1
|
3 | Pass |
%%
x = 'B is not the same as b';
y_correct = true;
assert(isequal(two_b_or_not_two_b(x),y_correct))
ans =
1
|
4599 Solvers
How to find the position of an element in a vector without using the find function
2477 Solvers
282 Solvers
445 Solvers
264 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!