📄 lim.m
字号:
function value=lim(input, min, max)% This will perform the limit function on% a value entered. If the value exceeds% the upper or lower bounds, the value is% clamped by these bounds.%% value = lim(input, min, max)if( input >= max ) value = max;elseif( input <= min ) value = min;else value = input;end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -