셈툴 다운로드

셈툴 튜토리얼

신호처리 | 이산 푸리에 변환의 성질 1 |

페이지 정보

작성자 cemtool 작성일14-04-23 15:31 조회13,405회 댓글0건

본문

이라 하자.

a) 을 구하고 그려보자.

ex5_9.cem
%subplot(1,1,1)
% a) plot x((n+4))11
n = 0:10; x = 10*(0.8) .^ n;
n1 = -11:21; x1 = [zeros(1,11), x, zeros(1,11)];
subplot(2,2,1); stem(n1,x1); title("Original x(n)");
xlabel("n"); 
x2 = [x, x, x];
subplot(2,2,3); stem(n1,x2); title("Periodic extention");
xlabel("n");
x3 = [x2(4+1:33), x(1:4)];
subplot(2,2,2); stem(n1,x3); title("Periodic shift");
xlabel("n"); 
%axis([-6,17,-1,11]);
x4 = x3 .* [zeros(1,11), ones(1,11), zeros(1,11)];
subplot(2,2,4); stem(n1,x4); title("Circular shift");
xlabel("n");

b) 순환 반전 성질을 확인해보자.

ex5_9.cem
% b) plot x((n-3))15
n = 0:10; x = [10*(0.8) .^ n zeros(1,4)];
n1 = -15:29; x1 = [zeros(1,15), x, zeros(1,15)];
subplot(2,2,1); stem(n1,x1); title("Original x(n)");
xlabel("n"); 
x2 = [x, x, x];
subplot(2,2,3); stem(n1,x2); title("Periodic extention");
xlabel("n"); 
x3 = [x2(43:45),x2(1:42)];
subplot(2,2,2); stem(n1,x3); title("Periodic shift");
xlabel("n");
x4 = x3 .* [zeros(1,15), ones(1,15), zeros(1,15)];
subplot(2,2,4); stem(n1,x4); title("Circular shift");
xlabel("n"); 


댓글목록

등록된 댓글이 없습니다.