Comparing sample and reference plots

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 commentaires

KSSV
KSSV le 17 Juin 2020
What you have?
ananya mittal
ananya mittal le 17 Juin 2020
I have a raman spectra plot and I have to compare it with a reference spectra and find out the correlation betwen them or probablity of matching?
KSSV
KSSV le 17 Juin 2020
Read about corr2.
ananya mittal
ananya mittal le 17 Juin 2020
But the two matrixes here doesn't have the same number of datapoints.

Connectez-vous pour commenter.

Réponses (1)

Abhishek Kumar
Abhishek Kumar le 11 Déc 2020

0 votes

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

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by