📄 chazhi.m
字号:
%%program chazhi.m
x=0:10; y=sin(x); xi=0:.25:10;
yi1=interp1(x,y,xi,'nearest');
yi2=interp1(x,y,xi,'linear');
yi3=interp1(x,y,xi,'spline');
yi4=interp1(x,y,xi,'cubic');
subplot(2,2,1)
plot(xi,yi1)
subplot(2,2,2)
plot(xi,yi2)
subplot(2,2,3)
plot(xi,yi3)
subplot(2,2,4)
plot(xi,yi4)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -