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!
10084 Solvers
Compute a dot product of two vectors x and y
756 Solvers
Test if two numbers have the same digits
190 Solvers
565 Solvers
338 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!