Equally resampled 2-D data
2 次查看(过去 30 天)
显示 更早的评论
Hi expert,
I need an advise to resample my discreete dataset. The original data is not equally resampled from as can be seen below.
How to resample this data so that x and y is equally sampled in ?
data=[
% theta x y
%============================
1.8054 -0.0335 -1.0621
4.5751 -0.0837 -1.0459
7.7798 -0.142 -1.0394
9.3173 -0.1647 -1.0038
11.0656 -0.1906 -0.9746
13.668 -0.2311 -0.9503
20.7506 -0.3429 -0.905
29.7449 -0.4773 -0.8353
38.5489 -0.5972 -0.7495
46.2374 -0.6895 -0.6604
52.7498 -0.764 -0.581
60.5654 -0.8402 -0.4741
67.2659 -0.9033 -0.3785
74.6275 -0.9584 -0.2635
80.4402 -0.9779 -0.1647
89.4683 -0.9892 -0.0092
96.2921 -0.9892 0.1091
103.3782 -0.9762 0.2322
109.0317 -0.9455 0.3261
114.9068 -0.9082 0.4217
119.4199 -0.8742 0.493
125.1803 -0.8143 0.574
129.2148 -0.7689 0.6274
133.051 -0.7219 0.6744
136.7678 -0.6782 0.7214
140.2864 -0.6328 0.7619
142.8179 -0.5988 0.7894
146.4262 -0.5713 0.8607
147.886 -0.5616 0.8947
150.3594 -0.5275 0.9271
152.8913 -0.487 0.9514
154.6306 -0.4611 0.9725
157.5687 -0.4141 1.0032
160.4221 -0.3672 1.0324
162.661 -0.3299 1.0567
164.8883 -0.291 1.0778
166.8535 -0.257 1.1004
168.4665 -0.2279 1.1166
170.7811 -0.1841 1.1344
172.865 -0.1436 1.1474
174.4297 -0.1129 1.1571
177.2079 -0.0578 1.1847
178.5238 -0.0302 1.1733
179.6241 -0.0076 1.1523
181.0876 0.0216 1.1377
184.1762 0.0815 1.1166
185.6031 0.1091 1.1118
187.3578 0.1415 1.0956
189.3605 0.1787 1.0842
190.9111 0.2073 1.0756
192.9861 0.2441 1.0583
195.4375 0.2851 1.0324
198.6204 0.3369 1
201.2258 0.3758 0.9676
203.0089 0.4017 0.946
206.5098 0.4471 0.8963
212.1226 0.5356 0.8531
216.7475 0.6048 0.8099
223.9678 0.7063 0.7322
230.4444 0.7819 0.6458
238.3529 0.8726 0.5378
246.6746 0.9417 0.406
253.59 0.9827 0.2894
259.1648 1.0043 0.1922
264.9611 1.0043 0.0886
270 1.0043 0
270.0619 1 -0.0011
277.5601 0.9968 -0.1323
284.9053 0.9595 -0.2554
292.1448 0.9141 -0.372
299.548 0.8477 -0.4806
306.1102 0.7765 -0.5664
312.8385 0.7052 -0.6539
318.8413 0.6339 -0.7252
325.042 0.5545 -0.7932
332.5713 0.4428 -0.8531
334.6252 0.4185 -0.8823
337.9012 0.378 -0.9309
340.0016 0.3553 -0.9762
342.8805 0.3197 -1.0378
344.9868 0.2905 -1.0832
346.5788 0.2662 -1.1156
348.5309 0.2273 -1.1204
351.21 0.1722 -1.1139
354.393 0.1075 -1.0945
356.2068 0.0718 -1.0832
359.1906 0.0151 -1.0702
];
The plot of x and y is shown below.
0 个评论
采纳的回答
更多回答(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!