Nice challenging problem! The fun thing is that all solutions look very different and are also very hard to understand
280 Solvers
1052 Solvers
309 Solvers
Matrix indexing with two vectors of indices
485 Solvers
124 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!