1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Singular value decomposition using matlab

  1. Sep 16, 2010 #1
    1. The problem statement, all variables and given/known data
    Given matrix,

    A= (-1 0 2;2 -1 0)

    and

    B=(-3 4;2 1)

    Find SVD using matlab.


    2. Relevant equations



    3. The attempt at a solution

    matlab code for svd;

    [d,e,f]= svd(c)

    c= A*B (but i got an error in matlab when i tried this)

    thanks
     
  2. jcsd
  3. Sep 16, 2010 #2

    Office_Shredder

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    You got an error because you can't multiply A and B. It sounds like you're just supposed to calculate svd(A) and svd(B)
     
  4. Sep 16, 2010 #3
    So I should calculate different SVD? thanks
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Singular value decomposition using matlab
Loading...