31.08.2018 Views

Eduardo Kausel-Fundamental solutions in elastodynamics_ a compendium-Cambridge University Press (2006)

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

232 MATLAB programs<br />

function [] = SH Plate(x, z, z0)<br />

% SH l<strong>in</strong>e source at elevation zo above the orig<strong>in</strong> <strong>in</strong> an elastic plate.<br />

% Plate has unit thickness and material properties<br />

% Orig<strong>in</strong> is at the bottom surface, z is positive up<br />

% Arguments:<br />

% x, z = coord<strong>in</strong>ates of receiver<br />

% z0 = elevation of source<br />

% Default data<br />

mu = 1; % Shear modulus<br />

rho = 1; % mass density<br />

cs = 1; % shear wave velocity<br />

h = 1;<br />

% plate thickness<br />

xi = 0.0001; % material damp<strong>in</strong>g<br />

N = 10; % parameter for max. time and max. frequency<br />

if z>h | z0>h<br />

disp(‘Error, source/receiver z must be

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!