function y = onda_quadra(x, T) y = 0*x ; ix = mod(x, T) < T/2 ; y(ix) = 1 ; end