inputabuse.m

来自「这是《Numerical Methods with MATLAB: Imple」· M 代码 · 共 9 行

M
9
字号
function s = inputAbuse
% inputAbuse  Use annoying input messages to compute sum of three variables 
%             Compare this function with threesum

x = input('Enter the first variable to be added ');
y = input('Enter the second variable to be added ');
z = input('Enter the third variable to be added ');
s = x+y+z;

⌨️ 快捷键说明

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