Not really my solution... just a slightly cheating version of @bmtran's.
Piecewise linear interpolation
298 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3610 Solvers
Given a 4x4 matrix, swap the two middle columns
515 Solvers
139 Solvers
Sum of odd numbers in a matrix
311 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!