Advertisement
JoelSjogren

Untitled

Dec 13th, 2020
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. box% octave
  2. GNU Octave, version 5.2.0
  3. Copyright (C) 2020 John W. Eaton and others.
  4. This is free software; see the source code for copying conditions.
  5. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
  6. FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
  7.  
  8. Octave was configured for "x86_64-pc-linux-gnu".
  9.  
  10. Additional information about Octave is available at https://www.octave.org.
  11.  
  12. Please contribute if you find this software useful.
  13. For more information, visit https://www.octave.org/get-involved.html
  14.  
  15. Read https://www.octave.org/bugs.html to learn how to submit bug reports.
  16. For information about changes from previous versions, type 'news'.
  17.  
  18. octave:1> [X,Y] = meshgrid(linspace(-10,10,1000));
  19. octave:2> Z = X + 1j*Y;
  20. octave:3> W = Z ./ (abs(Z) .* (1 - abs(Z)));
  21. octave:4> plot(W), axis([-10 10 -10 10])
  22. octave:5>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement