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!
Back to basics 17 - white space
247 Solvers
245 Solvers
3161 Solvers
Is this triangle right-angled?
2548 Solvers
498 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!