function Z=complexdom(reals,imags)

[X,Y]=meshgrid(reals,imags);
Z=X+i*Y;
