It is suggested that the selectivity of crystal-like structures (semiconductor superlattices, photonic crystals, and phononic crystals) be raised by apodization of their edges. The transmission and reflection coefficients illustrating the efficiency of this approach are presented.