31.08.2018 Views

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

function [ ] = Torsion Half(r, z, z0) 231<br />

W2 = i*2*pi*R2/cs*f;<br />

%H = S1*(1+W1).*exp(-W1)+S2*(1+W2).*exp(-W2);<br />

H = S1*(1+W1).*exp(-W1)+S2*(1+W2).*exp(-W2);<br />

plot (f, real(H));<br />

hold on;<br />

plot(f,imag(H),‘r’);<br />

tit = spr<strong>in</strong>tf(...<br />

‘Transfer function at r=%5.3f, z=%5.3f due to torsional load at z=%5.3f’,...<br />

r, z, z0);<br />

title (tit);<br />

xlabel(titx);<br />

grid on;<br />

pause;<br />

hold off;<br />

EasyPlot(‘TorHalf FD.ezp’, tit, titx, f, H, ‘c’);<br />

A2 = abs(H);<br />

plot(f, A2);<br />

grid on;<br />

tit = ‘Abs. Val. transfer function, direct’;<br />

title (tit);<br />

xlabel(titx);<br />

pause;<br />

ang2 = unwrap(angle(H));<br />

plot(f, ang2);<br />

grid on;<br />

title (‘Angle transfer function, direct’);<br />

xlabel(titx);<br />

pause;<br />

plot(f, A1./A2);<br />

grid on;<br />

title (‘A1/A2’);<br />

xlabel(titx);<br />

pause;<br />

ang = (ang2-ang1)/pi;<br />

plot(f, ang);<br />

xlabel(titx);<br />

grid on;<br />

title (‘Diff. Angle / pi’);<br />

xlabel(titx);<br />

pause;<br />

close all;<br />

return

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

Saved successfully!

Ooh no, something went wrong!