How to Reconstruct Image after decomposition using SVD
10 views (last 30 days)
Show older comments
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 Comment
mohammed
on 19 Feb 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..
Answers (0)
See Also
Categories
Find more on Eigenvalues in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!