Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 'This is cool!';
y_correct = 1;
assert(isequal(punctuation(x),y_correct))
|
2 | Pass |
%%
x = '!?! Are you kidding !?!';
y_correct = 6;
assert(isequal(punctuation(x),y_correct))
|
3 | Pass |
%%
x = 'Nope....';
y_correct = 4;
assert(isequal(punctuation(x),y_correct))
|
605 Solvers
How to find the position of an element in a vector without using the find function
2477 Solvers
213 Solvers
316 Solvers
324 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!