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

📄 p7_12.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% P7_12.M Plot the Legendre approximation to an odd function%  f(x)= signum(x)   [-1 1]%% The Legendre series is%  fapprox(x)=  (3/2)P1 - (7/8) P3 = (45/16)x - (35/16) x^3 %x=[-1:.01:1];p=[(-35/16) 0 (45/16) 0];y=polyval(p,x);plot(x,y)%% Add annotation to the graph.%

⌨️ 快捷键说明

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