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!