Through electromagnetic induction , a changing magnetic field can produce an electric field . Thus , a changing electric field generates a magnetic field ; conversely a changing magnetic field generates an electric field .