This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: clear delta_t = .0002; t_final = 1; time = 0 : delta_t : t_final; A_ex = 6.0; A_sx = 1.0; b_x = 3; freq_x = 8; A_ez = 4.0; A_sz = 1.0; b_z = 10; freq_z = 40; x_of_t = A_ex .* exp(b_x .* time) .* A_sx .* sin(2 .* pi .* freq_x .* time); z_of_t = A_ez .* exp(b_z .* time) .* A_sz .* cos(2 .* pi .* freq_z .* time); subplot(2,1,1) plot(time, x_of_t) xlabel( 't' ), ylabel( 'x(t)' ), title( 'Plot of x(t)' ), grid on subplot(2,1,2) plot(time, z_of_t) xlabel( 't' ), ylabel( 'z(t)' ), title( 'Plot of z(t)' ), grid on...
View
Full Document
 Fall '08
 Hoozturk
 matlab, specific time constraints

Click to edit the document details