フィルターのクリア

Metrics for Matrices similarity

27 ビュー (過去 30 日間)
Alex
Alex 2011 年 10 月 29 日
コメント済み: Shanelle Clarke 2020 年 5 月 24 日
Dear all, I have made a process that makes approxmation of a source matrix.
Every approximated matrix contains error which usually are extreme values (compares to the source). I have noticed that when sme approximation start looking the same then I am getting really close the source image.
That I want to ask you if you know some mathematical ways to measure similaritis in two approximated-matrices. I have used already the corrcoef and it results goosd results but I also want to check other metric.
I wuld like to thank you in advance for your help B.R Alex

採用された回答

bym
bym 2011 年 10 月 29 日
you can try using their eigenvalues:
x = norm(eig(a)-eig(b)); % a & b are your 2 matricies
  9 件のコメント
Christine Tobler
Christine Tobler 2017 年 9 月 14 日
Hi Shima,
It's usually better to start a new post than reviving an old one. I'm not sure of the context for the original post, but I'd typically measure the difference between matrices using
norm(A-B)
which works for non-square matrices, too.
Shanelle Clarke
Shanelle Clarke 2020 年 5 月 24 日
I've found that Christine's answer ( norm(A-B)) works better for me, since MATLAB doesn't always report the eig(A) and eig(B) in the same order.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by