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!
9968 Solvers
3919 Solvers
369 Solvers
find the surface area of a cube
344 Solvers
360 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!