代码语言:javascript复制
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,:));
运行结果: