In some cases permittivity of substance turns out to be a complex or a negative quantity, and refractive index, respectively, a complex or an imaginary quantity. Write the equation of a plane wave for both of these cases and find out the physica meaning of such refractive indices.