perhaps you could these cases to avoid some non-general solutions... TEST1: x=sqrtm([2,1;1,1]); y_correct=false; TEST2: x=randn(3); y_correct=false;
Thanks for the suggestions. I have implemented both of the tests. Cheers.
I believe the test cases are wrong, I could not prove that a matrix from randn(3) is orthogonal.
are you kidding ? :3 Great IQ !!
9823 Solvers
Remove the small words from a list of words.
672 Solvers
Solve the set of simultaneous linear equations
273 Solvers
Given a 4x4 matrix, swap the two middle columns
516 Solvers
07 - Common functions and indexing 4
319 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!