seeyou8 发表于 2007-7-13 19:24

如何对这些数据重新采样

有两列数据,想每几个点取一点,怎么重新采样?
如下:
--------------------------------------------
深度温度
1441.8656.6072
1441.875 56.6072
1441.8956.6072
1441.905 56.6072
1441.9256.6072
1441.935 56.6072
1441.9556.0931
1441.965 56.0931
1441.9856.0931
1441.995 56.0931
1442.0156.0931
1442.025 54.7915
1442.0454.7915
1442.055 54.7915
1442.0754.7915
1442.085 54.7915
1442.152.5366
1442.115 52.5366
1442.1352.5366
1442.145 52.5366
1442.1652.5366
1442.175 49.6387
1442.1949.6387
1442.205 49.6387
1442.2249.6387
1442.235 49.6387
1442.2548.4007
1442.265 48.4007
1442.2848.4007
1442.295 48.4007
1442.3148.4007
1442.325 50.7906
1442.3450.7906
1442.355 50.7906
1442.3750.7906
1442.385 50.7906
1442.455.7003
1442.415 55.7003
1442.4355.7003
1442.445 55.7003
1442.4655.7003
1442.475 59.4035
1442.4959.4035
1442.505 59.4035
.         .
.         .
..
..
-------------------------------------------

[ 本帖最后由 seeyou8 于 2007-7-13 20:09 编辑 ]

zhlong 发表于 2007-7-13 19:58

help decimate
help resample

[ 本帖最后由 zhlong 于 2007-7-13 20:06 编辑 ]

seeyou8 发表于 2007-7-13 20:13

原帖由 zhlong 于 2007-7-13 19:58 发表 http://www.chinavib.com/forum/images/common/back.gif
help decimate
help resample

我用resample(data,1,2)后数据与原来的变化好大啊

108142.461537.560.335139254.6951471.757.3771422.355.329145456.331433.954.2621446.355.2181439.352.8621442.952.6221441.451.8611441.449.3481441.549.799144348.6931439.448.1791446.549.0491434.250.8281454.450.8071422.753.8351472.256.9821392.554.4211538.163.682

zhlong 发表于 2007-7-13 21:03

回复 #3 seeyou8 的帖子

在降低采样频率的同时进行了低通滤波防止混叠。
页: [1]
查看完整版本: 如何对这些数据重新采样