Singular value decomposition using matlab

zairizain
Messages
3
Reaction score
0

Homework Statement


Given matrix,

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

and

B=(-3 4;2 1)

Find SVD using matlab.


Homework Equations





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
 
Physics news on Phys.org
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)
 
So I should calculate different SVD? thanks
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top