Ficheiro:Spherical_wave2.gif
De Wikipedia, a enciclopédia encyclopedia
Spherical_wave2.gif (178 × 178 píxeis, tamanho: 117 kB, tipo MIME: image/gif, cíclico, 9 quadros, 1,4 s)
![]() |
Esta imagem provém do Wikimedia Commons, um acervo de conteúdo livre da Wikimedia Foundation que pode ser utilizado por outros projetos.
|
Descrição do ficheiro
DescriçãoSpherical wave2.gif | Illustration of a en:Spherical wave. Here the negative part of the wave is truncated. This needs to be corrected at some point. |
Data | (UTC) |
Origem | self-made with MATLAB |
Autor | Oleg Alexandrov |
Outras versões | Image:Spherical wave.gif |
Licenciamento
Public domainPublic domainfalsefalse |
![]() |
Eu, titular dos direitos de autor desta obra, dedico-a ao domínio público, com aplicação em todo o mundo. Nalguns países isto pode não ser legalmente possível; se assim for: Concedo a todos o direito de usar esta obra para qualquer fim, sem quaisquer condições, a menos que tais condições sejam impostas por lei. |
MATLAB source code
% an illustration of a spherical wave
plane_wave = 1;
spherical_wave = 2;
%wave_type = plain_wave;
wave_type = spherical_wave;
if wave_type == plane_wave
% window size
Lx=0.4;
Lx=1;
% blow up the image by this factor to display better
factor = 80;
% a small shift to be added below for graph. purposes.
shift = 0.3;
elseif wave_type == spherical_wave
Lx = 0.5;
Ly = Lx;
factor = 1;
shift = 3;
end
Mx = Lx/2;
Wy = Ly/2;
M=400;
N = floor(M*Ly/Lx);
[X, Y]=meshgrid(linspace(-Lx/2, Lx/2, M), linspace(-Ly/2, Ly/2, N));
wavenumber = 100;
T = 1;
nt = 10;
Time = linspace(0, T, nt);
for repeat = 1:1
% go over one time period of the field
for iter = 1:(nt-1) % nt is same as 1 due to peridicity
t = Time(iter);
if wave_type == plane_wave
% plane wave
Z = real(exp(i*wavenumber*Y)*exp(-i*2*pi*t));
elseif wave_type == spherical_wave
% spherical wave
Z = exp(sqrt(-1)*wavenumber*sqrt(X.^2+Y.^2))*exp(-sqrt(-1)*2*pi*t)./sqrt(X.^2+Y.^2);
end
% plot the real part of the field Z
figure(1); clf; hold on; axis equal; axis off;
image(factor*(real(Z+shift))); % add shift to Z for graphing purposes
colormap jet; shading interp;
file = sprintf('Movie_frame%d.eps', 1000+iter);
disp(file); %show the frame number we are at
saveas(gcf, file, 'psc2') %save the current frame
pause(0.1);
end
end
% The following command was used to create the animated figure.
% convert -antialias -loop 10000 -delay 15 -compress LZW Movie_frame10* Spherical_wave2.gif
Legendas
Adicione uma explicação de uma linha do que este ficheiro representa
Radial Waves emanating from a common center
vagues radiales émanant depuis un unique centre
Elementos retratados neste ficheiro
retrata
Um valor sem um elemento no repositório Wikidata
7 novembro 2007
Histórico do ficheiro
Clique uma data e hora para ver o ficheiro tal como ele se encontrava nessa altura.
Data e hora | Miniatura | Dimensões | Utilizador | Comentário | |
---|---|---|---|---|---|
atual | 04h46min de 8 de novembro de 2007 | ![]() | 178 × 178 (117 kB) | Oleg Alexandrov | Tweak, same license |
05h43min de 7 de novembro de 2007 | ![]() | 349 × 348 (150 kB) | Oleg Alexandrov | {{Information |Description=Illustration of a en:Spherical wave |Source=self-made with MATLAB |Date=~~~~~ |Author= Oleg Alexandrov |Permission= |other_versions= }} {{PD-self}} ==MATLAB source code== <pre> <nowiki> % an illus |
Utilização local do ficheiro
As seguintes 2 páginas usam este ficheiro:
Utilização global do ficheiro
As seguintes wikis usam este ficheiro:
- ar.wikipedia.org
- bg.wikipedia.org
- bs.wikipedia.org
- ca.wikipedia.org
- de.wikipedia.org
- el.wikipedia.org
- en.wikipedia.org
- eo.wikipedia.org
- es.wikipedia.org
- fa.wikipedia.org
- gl.wikipedia.org
- he.wikipedia.org
- id.wikipedia.org
- ko.wikipedia.org
- mk.wikipedia.org
- ms.wikipedia.org
- no.wikipedia.org
- pa.wikipedia.org
- ro.wikipedia.org
- simple.wikipedia.org
- sl.wikipedia.org
- sq.wikipedia.org
- sv.wikipedia.org
- zh.wikipedia.org