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!

Homework Help: 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)


    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)

  2. jcsd
  3. Sep 16, 2010 #2


    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
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook