is the first test case result wrong? I think, it should be [60 30 30 60 60 120]
I think so too
I'm agree.
You are right.
I just changed the testcase, sorry!
895 Solvers
Matrix indexing with two vectors of indices
485 Solvers
Sum the numbers on the main diagonal
453 Solvers
445 Solvers
323 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!