Created
August 28, 2015 19:32
-
-
Save mick001/f4e8c1e0154bff5f93bf to your computer and use it in GitHub Desktop.
Complex functions and flow around a cylinder part 3 (matlab). Full article available at: http://www.firsttimeprogrammer.blogspot.com/2015/07/complex-functions-and-flow-around.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
figure | |
subplot(1,3,1) | |
C1 = contour(x,y1,abs(z),linspace(-10,10,100)); title('Contour of abs(f)'); | |
xlabel('x'); ylabel('y'); %clabel(C1); | |
subplot(1,3,2) | |
C2 = contour(x,y1,real(z),linspace(-10,10,100)); title('Contour of re(f)'); | |
xlabel('x'); ylabel('y'); %clabel(C2); | |
subplot(1,3,3) | |
C3 = contour(x,y1,imag(z),linspace(-10,10,100)); title('Contour of Im(f)'); | |
xlabel('x'); ylabel('y'); %clabel(C3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment