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
1836 Solvers
3602 Solvers
Back to basics 9 - Indexed References
392 Solvers
Arrange vector in ascending order
624 Solvers
2770 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!