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

📄 p7_1.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% P7_1.M Fit a 6th order polynomial to data and plot results%x=-3:3;y=[0.6 0.2 0.6 3.0 0.6 0.2 0.6];%fprintf(' Coefficients of 6th order polynomial')p=polyfit(x,y,6)xplot=[-4:0.01:4];f=polyval(p,xplot);%clfplot(x,y,'o',xplot,f,'-')title('Polynomial fit 6th order')axis([-4 4 -1 3.5])grid 

⌨️ 快捷键说明

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