Comparing sample and reference plots

2 views (last 30 days)
ananya mittal
ananya mittal on 17 Jun 2020
Answered: Abhishek Kumar on 11 Dec 2020
Hi. I want to compare a sample plot with the reference plot and find out the the probability of matching or a correlation coefficient . How can I do so ?
  4 Comments
ananya mittal
ananya mittal on 17 Jun 2020
But the two matrixes here doesn't have the same number of datapoints.

Sign in to comment.

Answers (1)

Abhishek Kumar
Abhishek Kumar on 11 Dec 2020
Hi Ananya, as I understand you want to find out correlation coefficient between the two plots, and the matrices you have are also not of same size, you can use "interp", you can use the following link:
to find out the correlation coefficients you can use the following link for correlation:
https://www.mathworks.com/matlabcentral/answers/346341-correlation-between-two-matrices-with-different-number-of-rows-and-columns

Tags

Community Treasure Hunt

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

Start Hunting!