I'm working on solving Maxwell's equation numerically and have implemented Yee's algorithm in Matlab. In order to check if the algorithm is implemented succesfully, I need an analytical solution to the problmen. So given the Maxwell's equations on the form
$$\frac{\partial}{\partial t} \: E(x,y,z,t) = c \: \nabla \times B(x,y,z,t) \tag{1}$$ $$\frac{\partial}{\partial t} \: B(x,y,z,t) = - c \: \nabla \times E(x,y,z,t), \tag{2}$$ what is the analytical solution?
My implementation of Yee's algorithm lets me choose the boundary conditions and the initial conditions freely.
I've learned that there exists solutions for a homogenous and lossless medium, but I'm having trouble finding them.
That'll be great if anyone can provide any good litteratur/reference on the subject. Thanks!
Edit: I'm looking for a general solution to the problem.