Very creative usage of blkdiag in collaboration with conv2. I prefer nnz over "any" for speed and compactness.
Determine whether a vector is monotonically increasing
11933 Solvers
3081 Solvers
900 Solvers
626 Solvers
Piecewise linear interpolation
299 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!