셈툴 다운로드

셈툴 튜토리얼

신호처리 | 복소수 신호 |

페이지 정보

작성자 cemtool 작성일14-04-23 14:48 조회10,512회 댓글0건

본문

다음의 복소수 신호를 만들고

크기, 위상, 실수부, 허수부의 4개의 그래프로 나타내 보자.

ex2_3.cem
figure(1);
// a) x(n) = exp((-0.1+j0.3)n), -10 <= n <= 10;
 n = [-10:10:1]; alpha = -0.1+0.3*j;
 x = exp(alpha*n);
 subplot(2,2,1); stem(n,real(x));title("real part");xtitle("n");
 subplot(2,2,2); stem(n,imag(x));title("imaginary part");xtitle("n");
 subplot(2,2,3); stem(n,abs(x));title("magnitude part");xtitle("n");
 subplot(2,2,4); stem(n,(180/pi)*angle(x));title("phase part");xtitle("n")


댓글목록

등록된 댓글이 없습니다.