File:Plane wave.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this preview: 297 × 600 pixels. Other resolutions: 119 × 240 pixels | 486 × 981 pixels.
Original file (486 × 981 pixels, file size: 4 KB, MIME type: image/png)
File information
Structured data
Captions
DescriptionPlane wave.png | Illustration of en:plane wave. |
Date | (UTC) |
Source | self-made with en:Matlab. See the source code below. |
Author | Oleg Alexandrov |
This diagram was created with MATLAB.
Public domainPublic domainfalsefalse |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
function main()
Box_x = 3;
Scale = 0.5;
Box_y = Box_x/Scale;
Nx = 200;
Ny = Nx/Scale;
wavenumber = 10;
XX = linspace(-Box_x, Box_x, Nx);
YY = linspace(-Box_y, Box_y, Ny);
hx = XX(2) - XX(1);
hy = YY(2) - YY(1);
[X, Y] = meshgrid(XX, YY);
I = sqrt(-1);
Uinc = exp(I*wavenumber*Y);
% plot the initial planewave
figure(1); clf; hold on; axis equal; axis off; colormap copper;
Tweak=0*Uinc; Tweak(1, 1)=-2; Tweak(1, 2) = 4;
imagesc(real(Uinc)+Tweak); % a hack to have the colormap look better
iter = 1;
saveas(gcf, sprintf('Scattering_frame%d_Nx%d.eps', iter, Nx), 'psc2');
This math image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with
{{vector version available|new image name}} .
It is recommended to name the SVG file “Plane wave.svg”—then the template Vector version available (or Vva) does not need the new image name parameter. |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 04:51, 8 July 2007 | 486 × 981 (4 KB) | Oleg Alexandrov (talk | contribs) | {{Information |Description=Illustration of en:plane wave. |Source=self-made with en:Matlab. See the source code below. |Date=~~~~~ |Author= Oleg Alexandrov }} ==MATLAB source code== <pre> <nowiki> function main() Box_ |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ca.wikipedia.org
- Usage on es.wikipedia.org