The test case is not correct.
I cleaned up the test.
duplicate of 262
swap algorithm without auxiliary variables
6290 Solvers
Matrix indexing with two vectors of indices
488 Solvers
Compute a dot product of two vectors x and y
750 Solvers
Generate a random matrix A of (1,-1)
211 Solvers
483 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!