Comparing two data sets

조회 수: 3 (최근 30일)
Robbie McDermott
Robbie McDermott 2017년 12월 7일
댓글: the cyclist 2017년 12월 29일
I have theoretical data and data I have measured myself. See below. Each line represents a different measurement. I want to match each line of the data I have taken to the theoretical line that best matches it. What is the best way to write this code to compare measured data to theoretical ?
I want to match the measured data to the theoretical data is most resembles.
FYI my measured data is in the form of 676 X 10 matrix where each column represents a different measurement.
  댓글 수: 2
magate
magate 2017년 12월 29일
I think xcorr does what you want.
the cyclist
the cyclist 2017년 12월 29일
You need to think carefully about what precisely you mean by "best matches it" or "most resembles". First, you can write out what that means in words. Then you can write it in pseudocode. Then you can write it out in MATLAB. (This forum will be most helpful in that last step, after you tell us more detail about what you want.)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by