J-G, thanks for the problem. Could you add some more information about expected inputs and outputs? An example and some more tests would be helpful too. If your test suite has exactly one test, it's trivial to write a correct answer.
Find the sum of the elements in the "second" diagonal
994 Solvers
Who has power to do everything in this world?
318 Solvers
276 Solvers
Find out sum of all elements of given Matrix
349 Solvers
find the surface area of a cube
336 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!