p1_10.m

来自「Advanced Engineering Mathematics using M」· M 代码 · 共 13 行

M
13
字号
% P1_10.M Plot the ratio of area to perimeter%   calls triratio(base,height) to compute ratioclear    % Clear workspace variablesclf      %  and figuresbase=[0:100];height=10y=triratio(base,height);x=base./height;plot(x,y)gridylabel('Area/Perimeter')xlabel('Base/Height')

⌨️ 快捷键说明

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