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
348 Solvers
Make a random, non-repeating vector.
2815 Solvers
276 Solvers
Split a string into chunks of specified length
477 Solvers
387 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!