马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
向大家请教一个问题,我现在有126个数(数据如下),是从一未知曲线上按不同的间隔抽取下来的,如果我想扩充到432个点去描绘这个曲线,是不是用插值呢?该怎么做呢?
y=[30.10,
12.17,
5.47,
1.87,
-0.4,
-1.9,
-3.16,
-4.06,
-4.78,
-5.38,
-5.88,
-6.3,
-6.67,
-7,
-7.29,
-7.55,
-7.79,
-8,
-8.21,
-8.93,
-8.57,
-8.74,
-8.91,
-9.07,
-9.22,
-9.37,
-9.53,
-9.68,
-9.83,
-9.98,
-10.14,
-10.29,
-10.45,
-10.62,
-10.79,
-10.96,
-11.14,
-11.33,
-11.51,
-11.71,
-11.91,
-12.11,
-12.32,
-12.54,
-12.75,
-12.97,
-13.2,
-11.43,
-12.88,
-14.34,
-14.79,
-15.22,
-15.62,
-15.98,
-16.30,
-16.57,
-16.77,
-16.91,
-16.98,
-16.97,
-16.90,
-16.76,
-16.55,
-16.29,
-15.99,
-15.64,
-15.26,
-14.86,
-14.45,
-14.04,
-13.63,
-13.24,
-12.51,
-11.88,
-11.36,
-10.94,
-10.61,
-10.34,
-10.12,
-9.92,
-9.73,
-9.54,
-9.35,
-9.14,
-8.91,
-8.67,
-8.4,
-8.11,
-7.8,
-7.46,
-7.09,
-6.69,
-6.27,
-5.82,
-5.33,
-4.81,
-3.67,
-2.07,
-0.2,
0.71,
12.53,
14.54,
16.77,
9.23,
11.94,
14.90,
18.14,
21.67,
25.51,
29.67,
34.17,
39.04,
44.29,
49.94,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56,
56];
x=[1:1:47,48:2:95,96:4:191,192:8:432];
[ 本帖最后由 yuanlive 于 2006-10-8 18:35 编辑 ] |