How to Reconstruct Image after decomposition using SVD

조회 수: 10 (최근 30일)
Muhammad  Ahmed
Muhammad Ahmed 2014년 2월 19일
댓글: mohammed 2014년 2월 19일
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
mohammed
mohammed 2014년 2월 19일
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..

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Eigenvalues에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by