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 Commenti

KSSV
KSSV il 17 Giu 2020
What you have?
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 il 17 Giu 2020
Read about corr2.
But the two matrixes here doesn't have the same number of datapoints.

Accedi per commentare.

Risposte (1)

Abhishek Kumar
Abhishek Kumar il 11 Dic 2020

0 voti

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

Categorie

Tag

Richiesto:

il 17 Giu 2020

Risposto:

il 11 Dic 2020

Community Treasure Hunt

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

Start Hunting!

Translated by