This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x='Blogs , Trendy , Cody , Contest .'
y='Blogs, Trendy, Cody, Contest.'
assert(isequal(cozy_cody(x),y))
x =
Blogs , Trendy , Cody , Contest .
y =
Blogs, Trendy, Cody, Contest.
ans =
Blogs, Trendy, Cody, Contest.
|
2 | Pass |
%%
x='Trendy , Cody , Contest .'
y='Trendy, Cody, Contest.'
assert(isequal(cozy_cody(x),y))
x =
Trendy , Cody , Contest .
y =
Trendy, Cody, Contest.
ans =
Trendy, Cody, Contest.
|
1968 Solvers
Sum the entries of each column of a matrix which satisfy a logical condition.
111 Solvers
136 Solvers
167 Solvers
convert matrix to single column
217 Solvers