I do not understand the point of Cody... I cannot use "eval 1:10;" but I can use "str2num 1:10;" which is overhead + eval 1:10... Please make Cody evaluate the functions used in submitted code
Sum of diagonal of a square matrix
Output any real number that is neither positive nor negative
Sum the numbers on the main diagonal
Back to basics - mean of corner elements of a matrix
Add two numbers
Swap the first and last columns
Which doors are open?
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