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 !!
12508 Solvers
given 3 sides, find area of this triangle
684 Solvers
Convert from Base 10 to base 5
205 Solvers
Magic is simple (for beginners)
2955 Solvers
Given a matrix, swap the 2nd & 3rd columns
535 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!