% A nice improper integrand. Its integral from 0 to 1 is 2.
function y = improper(x)
y = 1./sqrt(x); % Note that this works when x is an array.
