you should ease up numerically on equality, so my solution works :)
The polar inertia is the sum of the squared distances of all points from the origin. https://en.wikipedia.org/wiki/Polar_moment_of_inertia
Return the largest number that is adjacent to a zero
3772 Solvers
2521 Solvers
Least common multiple of many numbers
189 Solvers
976 Solvers
Flip the vector from right to left
2829 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!