How is it possible that the same matrix x in test 2 and test3 give different results? I guess you copy in the test 3 the wrong matrix?
Impossible to understand the tests
Too much variation on how many digits of precision you want
Now should be ok. Sorry but it is my first problem published.
For any question write me.
Add more tests to make this question's scores more relevant!
Return the largest number that is adjacent to a zero
3754 Solvers
Which values occur exactly three times?
3819 Solvers
232 Solvers
503 Solvers
315 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!