Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 13;
y_correct = 339;
assert(isequal(findlogic(x),y_correct))
|
2 | Pass |
%%
x = 26;
y_correct = 1353;
assert(isequal(findlogic(x),y_correct))
|
3 | Pass |
%%
x = 39;
y_correct = 3043;
assert(isequal(findlogic(x),y_correct))
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35553 Solvers
Find all elements less than 0 or greater than 10 and replace them with NaN
13049 Solvers
Return a list sorted by number of occurrences
1504 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
224 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!