Good news - Yay! There *is* a single function for it. Bad news - It was introduced in 2014b, and my newest version is 2007b.
Nice!
6654 Solvers
549 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
274 Solvers
98 Solvers
Matrix multiplication across rows
181 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!