Use the Gram-Schmidt process to orthogonalize three linearly independent column vectors. Return three output column vectors that are orthogonal and unit length. One example of three linearly independent vectors is u1=[1;1;0], u2=[2;3;4], and u3=[3;5;1].
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers15
Suggested Problems
-
Select every other element of a vector
37082 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14229 Solvers
-
Calculate the probability that at least two people in a group share the same birthday.
106 Solvers
-
764 Solvers
-
Find the max element of the array
2327 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Nice problems (This one and #59651) @Ryan, but you should put atleast 3 test cases in a problem to avoid hard-coded/look-up table solutions.
You could also add a test case to check for some restrictions on the code. (Check mine or ChrisR's recent questions to get an idea about this).