Faulty solution that passes the test suite due to ill-defined test criterium in tests 3 and 4: obviously, the function output and A_correct are not the same.
The Hitchhiker's Guide to MATLAB
2880 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
273 Solvers
Celsius to Fahrenheit converter
395 Solvers
204 Solvers
1273 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!