Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function [X, Y, Z] = plotComplexFunction()
- i = sqrt(-1);
- [X, Y] = meshgrid(-4:0.05:3, -4*pi:0.05:4*pi);
- Z = exp(0.2*X+0.5*i*Y);
- surf(X, Y, real(Z));
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement