MATLAB Answers

How to find the local similarity between an original data and a reconstructed data set ?

4 views (last 30 days)
Hi everyone, I am working on data reconstruction. I want to show the local similiraty between the original data and a reconstructed data set. The size of the original data is [300 12 12]=size(A), the size of the reconstructed data is [300 12 12]=size(B). Is there a way to find the similarity between the two data ? Any help could help me. Tahnks


KSSV on 14 Aug 2019
How about a regression coeffiecent/ corellation coefficient and mean square error between the two?
Yapo OBOUE on 14 Aug 2019
Hi dear KSSV thanks for your comment, I used mse like b = mse(A,B)
and got a coefficient b=6.9329e-05. So, I would like to know if there was a possibility of obtaining data with the same size like B after using regression coeffiecent/ correlation coefficient and mean square error between the two, so that the result of the similarity is then plotted.

Sign in to comment.

Accepted Answer

Bhargavi Maganuru
Bhargavi Maganuru on 19 Aug 2019
You can use “corrcoef” function to find similarity between the two data.
For more information refer to the following link:


Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!