How to Reconstruct Image after decomposition using SVD

10 vues (au cours des 30 derniers jours)
Muhammad  Ahmed
Muhammad Ahmed le 19 Fév 2014
Commenté : mohammed le 19 Fév 2014
i have decomposed my image using svd... and modified the singular values by adding matrix let Say A. How can I get back this matrix A..
For Example:
m=[1 2 3; 4 5 6; 7 8 9];
[u s v]= svd(m);
A=[0 2 1; 3 5 6; 8 9 4];
sw= s+A;
new= u*sw*v;
Now how can I get back my matrix A from matrix new?
Is there any way please help me out...
  1 commentaire
mohammed
mohammed le 19 Fév 2014
Dear Muhammad i think you can try something like
m=[1 2 3; 4 5 6; 7 8 9];
[u s v]= svd(m);
A=[0 2 1; 3 5 6; 8 9 4];
sw= s+A;
new= u.*sw.*v;
GetBackA = [new./(u.*v)]-s
Result
GetBackA =
0 2.0000 1.0000
3.0000 5.0000 6.0000
8.0000 9.0000 4.0000
i hope it will help you..

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Eigenvalues dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by