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
This note was uploaded on 01/28/2012 for the course ECE 301 taught by Professor Hoozturk during the Fall '08 term at N.C. State.
- Fall '08