Synchronization / division of sequenced measurement data

조회 수: 1 (최근 30일)
Mepe
Mepe 2020년 9월 7일
답변: Sulaymon Eshkabilov 2020년 9월 7일
Hello,
I have measurement data that were recorded in different sequences. Unfortunately I always have a different number. For example, I have the range 0 - 10 on the X axis with a total of 1000 measurement data. In the range 10-20 I have 1300 measurement data. So far, I have always mapped these separately for display in the plot (plot (0-10, y1); hold on; plot (10-20, y2); ...). Now I would like to have a single curve for further processing. Because of the different division, I can't just add the vectors. Is there a possibility from the existing data to read out the measurement data with the same division? Or do you have another suggested solution?
Thank you so much!

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2020년 9월 7일
Hi,
Just to display all (two or more different sets of data), you can augment all your measured data sets, e.g.:
X_ALL = [x1, x2, x3, xn]; Y_all = [y1, y2, y3, yn];
plot(X_ALL, Y_ALL);
An alternative way might be resample the data sets to make them all with a uniform division by using: resample()

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by