function Z = complexmesh(a,b)

[A,B] = meshgrid(a, b);
Z = complex(A,B);