You need to test with more than one number. Many attempt (and succeed) with a static vector solution until they are lucky.
When i run the program it says fn is undefined. Please explain
Generate a random matrix A of (1,-1)
211 Solvers
130 Solvers
find the maximum element of the matrix
349 Solvers
484 Solvers
07 - Common functions and indexing 1
338 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!