Synchronization / division of sequenced measurement data
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
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()
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!