The author intenionally hide some info about the website's matlab code, since both of fomula and code calculate M4 with slightly different way, in Cody, you DO NOT NEED to minus the mean of P, unlike this website's code actually did that. I learned that in hard way, but deeply hope you guys enjoy to optimize this code.
1102 Solvers
The Hitchhiker's Guide to MATLAB
2880 Solvers
Smallest distance between a point and a rectangle
90 Solvers
Back to basics 20 - singleton dimensions
255 Solvers
174 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!