Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assert(isequal(decimate(10,3),4))
|
2 | Pass |
assert(isequal(decimate(1024,3),676))
|
3 | Pass |
assert(isequal(decimate(2012,50),543))
|
4 | Pass |
assert(isequal(decimate(30,5),3))
|
5 | Pass |
assert(isequal(decimate(10,10),8))
|
6 | Pass |
assert(isequal(decimate(2048,2),1))
|
Find the longest sequence of 1's in a binary sequence.
3370 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
546 Solvers
299 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
297 Solvers
Matrix multiplication across rows
176 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!