function y=InC(x) y = 0; if (x>=0.2) & (x<=0.5) y = 1; end