Covering some basic topics I haven't seen elsewhere on Cody.
Return a string that is the path to the system's current temp directory
The assert is wrong. Dirs should not be tested as equal strings - slash can be omitted.
Swap the input arguments
Back to basics 9 - Indexed References
Getting the row and column location from a matrix
Rotate a Matrix by 90 degrees
Square a Number
Toolbox check part 3
Valid Chess Moves
Back to basics 1 - Saving
Back to basics 12 - Input Arguments
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