⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex7_2.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% EX7_2.M Spline interpolation of the function y=1/(1+x^2)%   with a cubic polynomialx=[-5:1:5];             % N+1=11 pointsy=1./(1+x.^2);          % Runge function% Spline functionxspline=[-5:.1:5];      % Finer spacing in xyspline = spline(x,y,xspline);% Plotclf                     % Clear any figuresplot(x,y,'o',xspline,yspline,'-')title('Spline Function Interpolation Figure 7.2')axis([-6 6 -.5 2])%% Modify the script to allow spline fitting of general% functions

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -