lim.m
来自「UAV 自动驾驶的」· M 代码 · 共 16 行
M
16 行
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 + =
减小字号Ctrl + -
显示快捷键?