MATLAB进行稀疏点的曲线拟合

a = [0.06 0.08 0.1 0.12];
b = [1.30, 1.52, 1.85, 2.59];

figure
values = spcrv([[a(1) a a(end)];[b(1) b b(end)]],3);
plot(values(1,:),values(2,:));

运行结果:

                                     

猜你喜欢

转载自blog.csdn.net/weixin_36670529/article/details/89394084