ملف:Spherical wave2.gif
من testwiki
اذهب إلى التنقل
اذهب إلى البحث
Spherical_wave2.gif (١٧٨ × ١٧٨ بكسل حجم الملف: ١١٧ كيلوبايت، نوع MIME: image/gif، ملفوف، ٩ إطارات، ١٫٤ث)
هذا الملف من ويكيميديا كومنز ويمكن استخدامه بواسطة المشاريع الأخرى. الوصف على صفحة وصف الملف هناك معروض بالأسفل.
ملخص
| الوصفSpherical 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. |
| التاريخ | (UTC) |
| المصدر | self-made with MATLAB |
| المؤلف | Oleg Alexandrov |
| إصدارات أخرى | Image:Spherical wave.gif |
| GIF منشأ الملف InfoField |
ترخيص
| Public domainPublic domainfalsefalse |
| أنا، مالِك حقوق تأليف ونشر هذا العمل، أجعله في النِّطاق العامِّ، يسري هذا في أرجاء العالم كلِّه. في بعض البلدان، قد يكون هذا التَّرخيص غيرَ مُمكنٍ قانونيَّاً، في هذه الحالة: أمنح الجميع حق استخدام هذا العمل لأي غرض دون أي شرط ما لم يفرض القانون شروطًا إضافية. |
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
الشروحات
أضف شرحاً من سطر واحد لما يُمثِّله هذا الملف
Radial Waves emanating from a common center
vagues radiales émanant depuis un unique centre
العناصر المصورة في هذا الملف
يُصوِّر
قيمة ما بدون عنصر ويكي بيانات
٧ نوفمبر 2007
١١٩٬٣١٢ بايت
١٧٨ بكسل
١٧٨ بكسل
image/gif
43cea002a5e7ee7fbf1eeb7ceb53b020e3fdd69c
تاريخ الملف
اضغط على زمن/تاريخ لرؤية الملف كما بدا في هذا الزمن.
| زمن/تاريخ | صورة مصغرة | الأبعاد | مستخدم | تعليق | |
|---|---|---|---|---|---|
| حالي | ٠٥:٤٦، ٨ نوفمبر ٢٠٠٧ | ١٧٨ × ١٧٨ (١١٧ كيلوبايت) | wikimediacommons>Oleg Alexandrov | Tweak, same license |
استخدام الملف
الصفحة التالية تستخدم هذا الملف:
