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
Test if a Number is a Palindrome without using any String Operations
181 Solvers
Program an exclusive OR operation with logical operators
641 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
555 Solvers
Make a vector of prime numbers
201 Solvers
326 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!