-
12 Comments
Show
9 older comments
Ha
on 26 Feb 2024
Its so smart you are
Andrew
on 16 Apr 2024
Well done!
I started with a much longer function and eventually whittled down to something like this. I think breaking it out into a few extra lines and adding some comments would be even better in practice, to make the code easier to read and modify.
Andrei
on 7 Dec 2024
this is very clever
Suggested Problems
-
2352 Solvers
-
1232 Solvers
-
Project Euler: Problem 7, Nth prime
1567 Solvers
-
553 Solvers
-
Flip the vector from right to left
9513 Solvers
More from this Author80
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!