Second example is [1 4;2 3] Returns 4 and 3, not 2!!
Is my wife right?
Find the sum of the elements in the "second" diagonal
Back to basics 8 - Matrix Diagonals
Create a square matrix of multiples
Find out sum of all elements of given Matrix
GJam March 2016 IOW: Polynesiaglot Large
GJam 2017 Kickstart: Parentheses (Small)
Kryptos - CIA Cypher Sculpture: Vigenere Encryption
Battleship - Seaman Level
GJam 2014 Qualifier: Deceitful War (Small)
Find the treasures in MATLAB Central and discover how the community can help you!
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