Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. A =
  2.  
  3. 1 3 1 2
  4. 0 0 0 0
  5. 1 0 0 0
  6. 1 3 1 2
  7.  
  8. [U S V]=svd(A)
  9.  
  10. U =
  11.  
  12. 0.7063 -0.0344 0.7071 0.0000
  13. 0 0 -0.0000 1.0000
  14. 0.0486 0.9988 0.0000 0.0000
  15. 0.7063 -0.0344 -0.7071 -0.0000
  16.  
  17. S =
  18.  
  19. 5.4835 0 0 0
  20. 0 0.9650 0 0
  21. 0 0 0.0000 0
  22. 0 0 0 0.0000
  23.  
  24. V =
  25.  
  26. 0.2665 0.9638 0 0
  27. 0.7728 -0.2136 0.5976 0.0000
  28. 0.2576 -0.0712 -0.3586 0.8944
  29. 0.5152 -0.1424 -0.7171 -0.4472
  30.  
  31. V2 = V(:,3:4)
  32.  
  33. [Q R e]=qr(V2','vector')
  34.  
  35. Q =
  36.  
  37. -0.3721 0.9282
  38. 0.9282 0.3721
  39.  
  40.  
  41. R =
  42.  
  43. 0.9636 -0.1482 0 -0.2224
  44. 0 -0.8321 0 0.5547
  45.  
  46. e =
  47.  
  48. 3 4 1 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement