📄 代码27-12.txt
字号:
method = 'Bilinear';
switch lower(method)
case {'linear','bilinear'} % 判断
disp('Method is linear') % 执行程序
case 'cubic' % 判断
disp('Method is cubic') % 执行程序
case 'nearest' % 判断
disp('Method is nearest') % 执行程序
otherwise % 判断
disp('Unknown method.') % 执行程序
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -