function y = batas_x(x) B = 0.1; if x >= B y = B; elseif x <= -B y = -B; else y = x; end