Advertisement
Guest User

Q1

a guest
May 26th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function [X, Y, Z] = plotComplexFunction()
  2. i = sqrt(-1);
  3. [X, Y] = meshgrid(-4:0.05:3, -4*pi:0.05:4*pi);
  4. Z = exp(0.2*X+0.5*i*Y);
  5. surf(X, Y, real(Z));
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement