4 lines
74 B
Matlab
4 lines
74 B
Matlab
function R = clip(X, x_min, x_max)
|
|
R = (X >= x_max) & ~(X <= x_min);
|
|
end
|