File:Refraction animation.gif

From WikiProjectMed
Jump to navigation Jump to search

Refraction_animation.gif(501 × 241 pixels, file size: 306 KB, MIME type: image/gif, looped, 16 frames, 0.8 s)

This file is from a shared repository and may be used by other projects. Please see the file description page for further information.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current05:27, 24 October 2018Thumbnail for version as of 05:27, 24 October 2018501 × 241 (306 KB)commons>UlflundLonger wavelength and higher wave speed. The figure is generated with the following Matlab code: dx = .1; x = -25:dx:25; y = -12:dx:12; [X, Y] = meshgrid(x, y); n = 1.5; theta = atan(1.5); theta2 = asin(sin(theta)/n); phi = theta-theta2; clear imind cm; filename = 'refraction_animation.gif'; Alpha = linspace(0,-pi, 17); Alpha = Alpha(1:end-1); for i = 1:length(Alpha); alpha = Alpha(i); a = sin(X + alpha).^2; cs = @(y) exp(-(max(0, abs(y)-4)/2).^2); a = a .* cs(Y)+1e-...

There are no pages that use this file.