MATLAB: How cdsc values 3d plot3d plotting3d plotting of complex equationcomplex equationplotplotting s Best Answer hi,In your exercise, it is easier to use: real() and imag() to separate out the real and imag parts of E. E.g.[x, y]=meshgrid(linspace(-pi, pi), linspace(-5, 5));E = exp(-j*x*cosd(169)+y*sind(169)).*exp(deg2rad(311j));subplot(211); mesh(x,y,real(E)); title('Real part of E');subplot(212); mesh(x,y,imag(E)); title('Imaginary part of E')Good luck Related SolutionsMATLAB: Can’t understand how to plot real part of Symbolic Function [X,Y] = ndgrid(linspace(-5,5), linspace(-3,3)); %your x and y range to plot overZr = double(real( subs(E, {x,y}, {X,Y}))); %create numeric real valuesZr = reshape(Zr, size(X,1), size(X,2), []); %E is a vector so each element generated a surfacensurf = size(Zr,3);for K = 1 : nsurf ax = subplot(1,nsurf,K); surf(ax, X, Y, Zr(:,:,K)); title( char(E(K)) );end MATLAB: Line Plot Complex Numbers z1 = 0 + 2j;z2 = -1 + 1j;z3 = -3 - 4j;z4 = 0 - 1j;z = [z1 ; z2; z3; z4] ;plot(real(z),imag(z)) % line plot hold onplot(real(z),imag(z),'*r') % marker plot Related QuestionConverting magnitude (dB) and phase (deg) to complex valueHow to plot three dimensional triangular based pyramidThree dimension plotting…yeaPlotting a complex function with function in real and imag part
Best Answer