Image:Complex numbers multiplication.png
From Wikipedia, the free encyclopedia

No higher resolution available.
Complex_numbers_multiplication.png (242 × 180 pixel, file size: 3 KB, MIME type: image/png)
![]() | This is a file from the Wikimedia Commons. The description on its description page there is shown below. |
![]() |
This math image should be recreated using vector graphics as an SVG file. This has several advantages; see Commons:Images for cleanup for more information. If an SVG form of this image is already available, please upload it. After uploading an SVG, replace this template with template {{SupersededSVG|new image name.svg}} in this image. |
Català | Česky | Dansk | Deutsch | English | Esperanto | Español | Français | Italiano | 日本語 | 한국어 | Nederlands | Polski | Português | Русский | العربية | 正體中文 | +/- |
La bildo estas kopiita de wikipedia:en. La originala priskribo estas:
Contents |
[edit] Summary
Made by myself with matlab.
[edit] Licensing
![]() |
This image has been (or is hereby) released into the public domain by its author, Oleg Alexandrov at the English Wikipedia project. This applies worldwide. In case this is not legally possible: |
[edit] Source code
function main () % set up the plotting window thickness=2.8; fs=30; d=0.005; red=[1, 0, 0]; green=[0, 1, 0]; blue=[0, 0, 1]; figure(1); clf; hold on; axis equal; axis off; i=sqrt(-1); z1=0; z2=1; z3=1+i; draw_segment(z1, z2, red, thickness); draw_segment(z2, z3, green, thickness); draw_segment(z3, z1, blue, thickness); place_text_smartly (z1, fs, 5, d, '0'); place_text_smartly (z2, fs, 7, d, '1'); place_text_smartly (z3, fs, 1, d, 'A'); z1=0; z2=2*i; z3=2*i*(1+i); draw_segment(z1, z2, red, thickness); draw_segment(z2, z3, green, thickness); draw_segment(z3, z1, blue, thickness); place_text_smartly (z2, fs, 1, d, 'B'); place_text_smartly (z3, fs, 3, d, 'X'); saveas(gcf, 'Complex_numbers_multiplication.eps', 'psc2') function draw_segment(z1, z2, color, thickness); plot( [real(z1), real(z2)], [imag(z1), imag(z2)], 'color', color, 'linewidth', thickness ); function place_text_smartly (z, fs, pos, d, tx) p=cos(pi/4)+sqrt(-1)*sin(pi/4); z = z + p^pos * d * fs; shiftx=0.0003; shifty=0.002; x = real (z); y=imag(z); H=text(x+shiftx*fs, y+shifty*fs, tx); set(H, 'fontsize', fs, 'HorizontalAlignment', 'c', 'VerticalAlignment', 'c')
date/time | username | edit summary |
---|---|---|
00:40, 22 November 2005 | en:User:Oleg Alexandrov | (changes to source code) |
04:45, 24 October 2005 | en:User:Oleg Alexandrov | (source code) |
03:44, 24 October 2005 | en:User:Oleg Alexandrov | (Made by myself with matlab.) |
[edit] Historio de la dosiero
Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.
- (del) (cur) 03:44, 24 October 2005 . . en:User:Oleg_Alexandrov Oleg Alexandrov ( en:User_talk:Oleg_Alexandrov Talk) . . 242x180 (3520 bytes) (Made by myself with matlab. )
File links
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):