I am trying to plot this code as a mesh plot but it keeps on giving me an error for the mesh(x,y,z) line everytime I try it. with ranges -1<=x<=1 and -2*pi <=y<=2*pi with the eqn : exp(x+i*y)
xd=linspace(-1,1);yd=linspace(-2*pi ,2*pi);[x,y]=meshgrid(xd,yd);u= x+1i.*y;z= exp(u);mesh(x,y,z)
can someone help me out please
Best Answer