compute_average.m

来自「很好的软件」· M 代码 · 共 4 行

M
4
字号
function ave = compute_average(x,y)
% compute_average determines the average of the two inputs scalars x % and y.
ave = (x + y)/2;

⌨️ 快捷键说明

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