Your description says the inputs will be vectors, but your test suite includes matrices.
+1
Apologies for the incorrect terminology. The description has been updated.
Test suit is giving error even though logic is working
Test suite is not properly managed. I am getting the correct result for the Solution 1607662
Hello, there is a problem with test suits 3, 5 and 6.
Please correct them.
Never mind, my result was not a row vector.
When I run this solution in my local workspace, I pass... More investigation to be done.
4624 Solvers
How long is the longest prime diagonal?
341 Solvers
Who is the smartest MATLAB programmer?
564 Solvers
247 Solvers
Sum the numbers on the main diagonal
457 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!