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

📄 pfun.m

📁 Programs for the book Advanced Engineering Mathematics using MATLAB, 2ndEd.
💻 M
字号:
function y=pfun(fnct)
% PFUN.M function y=pfun('function')
%   Example call: y= pfun('x.^2+x.^3')
%    (Note the use of array element-by-element notation)
%   Output is a plot of 'function' with range of 0 to 10 
%
x=[0:0.1:10];
y=eval(fnct);
plot(x,y);
%
% Note:  An improvement would be to annotate the plot
%     and display the function being plotted. Modify the
%     function to allow input of another range of x.	

⌨️ 快捷键说明

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