-
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
-
5977 Solvers
-
6565 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1301 Solvers
-
Back to basics 23 - Triangular matrix
1037 Solvers
-
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
1728 Solvers
More from this Author80
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!