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.
1600 Solvers
Check to see if a Sudoku Puzzle is Solved
279 Solvers
Back to basics 21 - Matrix replicating
1052 Solvers
Number of 1s in a binary string
2839 Solvers
299 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!