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
First non-zero element in each column
602 Solvers
627 Solvers
423 Solvers
Create an index-powered vector
371 Solvers
Area of an equilateral triangle
2911 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!