See Problem 42411 by Grant III
@Jean-Marie Sainthillier: You are right, sorry for not have checked before.
And thank you for the info, the problem-series by Grant III is very useful.
522 Solvers
Matrix indexing with two vectors of indices
527 Solvers
Get the length of a given vector
4033 Solvers
Determine if input is divisible by three.
165 Solvers
1342 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!