پرونده:Spherical wave2.gif

Page contents not supported in other languages.
از ویکی‌پدیا، دانشنامهٔ آزاد

Spherical_wave2.gif(۱۷۸ × ۱۷۸ پیکسل، اندازهٔ پرونده: ۱۱۷ کیلوبایت، نوع MIME پرونده: image/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
 
این نمودار با MATLAB ساخته شده است.

اجازه‌نامه

Public domain من، دارنده حق تکثیر این اثر، این اثر را به مالکیت عمومی منتشر می‌کنم. این قابل اجرا در تمام نقاط جهان است.
در برخی از کشورها ممکن است به صورت قانونی این امکان‌پذیر نباشد؛ اگر چنین است:
من اجازهٔ استفاده از این اثر را برای هر مقصودی، بدون هیچ‌گونه شرایطی می‌دهم، تا وقتی که این شرایط توسط قانون مستلزم نشده باشد.

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

آیتم‌هایی که در این پرونده نمایش داده شده‌اند

توصیف‌ها

تاریخچهٔ پرونده

روی تاریخ/زمان‌ها کلیک کنید تا نسخهٔ مربوط به آن هنگام را ببینید.

تاریخ/زمانبندانگشتیابعادکاربرتوضیح
کنونی‏۸ نوامبر ۲۰۰۷، ساعت ۰۴:۴۶تصویر بندانگشتی از نسخهٔ مورخ ‏۸ نوامبر ۲۰۰۷، ساعت ۰۴:۴۶۱۷۸ در ۱۷۸ (۱۱۷ کیلوبایت)Oleg AlexandrovTweak, same license
‏۷ نوامبر ۲۰۰۷، ساعت ۰۵:۴۳تصویر بندانگشتی از نسخهٔ مورخ ‏۷ نوامبر ۲۰۰۷، ساعت ۰۵:۴۳۳۴۹ در ۳۴۸ (۱۵۰ کیلوبایت)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

صفحهٔ زیر از این تصویر استفاده می‌کند:

کاربرد سراسری پرونده

ویکی‌های دیگر زیر از این پرونده استفاده می‌کنند: