파일:Spherical wave2.gif

testwiki
둘러보기로 이동 검색으로 이동
    원본 파일 (178 × 178 픽셀, 파일 크기: 117 KB, MIME 종류: image/gif, 반복됨, 9 프레임, 1.4초)

    이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.

    파일 설명

    설명 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
     이 다이어그램 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

    이 파일에 묘사된 항목

    다음을 묘사함

    119,312 바이트

    178 화소

    178 화소

    43cea002a5e7ee7fbf1eeb7ceb53b020e3fdd69c

    파일 역사

    날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

    날짜/시간섬네일크기사용자설명
    현재2007년 11월 8일 (목) 05:462007년 11월 8일 (목) 05:46 판의 섬네일178 × 178 (117 KB)wikimediacommons>Oleg AlexandrovTweak, same license

    이 파일을 사용하는 문서가 없습니다.