This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 'I played piano. John played football. Anita went home. Are you safe?';
y = {'I played piano.' 'Anita went home.' 'Are you safe?'};
assert(isequal(lazy(x),y))
|
2 | Pass |
x = 'Are you okay? Who are you? Olga will call you. Sam saw me.';
y = {'Olga will call you.'};
assert(isequal(lazy(x),y))
|
Select every other element of a vector
20356 Solvers
819 Solvers
Number of 1s in the Binary Representation of a Number
356 Solvers
Solve the set of simultaneous linear equations
274 Solvers
Side of an equilateral triangle
2598 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!