Bai 6 - ệ ố ứ ụ ộ ư ố ệ ANS x =...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
y[n] =x[n] 2 - x[n-1]x[n+1] % Program P2_1 % Generate a sinusoidal input signal clf; n = 0:200; x = cos(2*pi*0.05*n); % Compute the output signal x1 = [x 0 0]; % x1[n] = x[n+1] x2 = [0 x 0]; % x2[n] = x[n] x3 = [0 0 x]; % x3[n] = x[n-1] y = x2.*x2-x1.*x3; y = y(2:202); % Plot the input and output signals subplot(2,1,1) plot(n, x) xlabel( 'Time index n' );ylabel( 'Amplitude' ); title( 'Input Signal' ) subplot(2,1,2) plot(n,y) xlabel( 'Time index n' );ylabel( 'Amplitude' ); title( 'Output signal'); 1. 2.S d ng các tín hi u sin v i t n s khác nhau làm tín hi u đ u vào và tính đáp ng ử ụ ớ ầ đ u ra c a h th ng. Đáp ng ra ph thu c nh th nào vào t n s c a tín hi u vào?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ầ ủ ệ ố ứ ụ ộ ư ế ầ ố ủ ệ ANS: x = sin(2*pi*0.05*n) =>f=0.05 => sum(y.*y) ans =1.8146 Thay i f b t kì: đổ ấ f=0.08 => x = sin(2*pi*0.08*n)=> sum(y.*y)ans =10.7190 f=0.025 => x = sin(2*pi*0.025*n) => sum(y.*y) ans = 0.1192 T n s càng l n, y càng l n. ầ ố ớ ớ 3. N ế u x[n] = sin( ϖ n ) + K, tính đáp ứ ng ra y[n] c a ủ h ệ th ố ng ANS: Cho K=5 x = sin(2*pi*0.05*n)+5 sum(y.*y) ans = 1.2758e+003 Cho K=8 sum(y.*y) ans = 8.2551e+003 K tăng, biên đ tăng ộ...
View Full Document

This note was uploaded on 11/16/2011 for the course KJ 1111111 taught by Professor 323 during the Spring '11 term at RMIT Vietnam.

Page1 / 2

Bai 6 - ệ ố ứ ụ ộ ư ố ệ ANS x =...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online