You gave a hint as well as showed the solution in the test suites only.
The solution has been removed from the test suite.
Generate a random matrix A of (1,-1)
211 Solvers
07 - Common functions and indexing 6
348 Solvers
278 Solvers
2782 Solvers
273 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!