Compute the rank r of a magic square of order n WITHOUT rank and magic functions.
I observed that Cody seems sometimes to lost solutions to my own problems. Strange no ?
Yes, I have noticed that many of the "reference solutions" for my own problems seem to have been lost (they still appear when I edit the problem, they just disappeared from the list of scored solutions) -this explains the generalized drop in scores seen some time back. No idea what might have caused this, though. Some times a solution is "lost" if, during rescoring, it times out or runs into a general cody-level error (the same behavior when you create a solution that times out, which is not recorded as a failed solution at all). This might be intentional to avoid keeping solutions that may cause timeouts from being rescored, but it can have undesired consequences so it might be desirable to fix this behavior to avoid this sort of "lost solution" situations... (although I am not sure if this is related to this particular case of lost solutions). Thoughts?
It dseon't mettar waht oedrr the lrettes in a wrod are.
Back to basics 21 - Matrix replicating
Get ranks of values in a vector
Magic is simple (for beginners)
Getting the indices from a matrice
Generalised Hamming Number
Replicate elements in vectors
Two functions (to be sure)
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office