|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
0 D/ K/ w) B& J5 |; ]( }该复指数序列为:
y7 r5 f- q/ Q# X$ a! E1 K( `( Z" J( M$ H: Q5 p
3 J0 H8 ^6 ?! S
2 ], N, W; ?; Y7 R
直接给出MATLAB脚本:
6 l8 X, t- E3 q$ ?, U3 ~" A- Y8 f/ q ]6 n, v0 ^- H
- clc
- clear
- close all
- n = [-10:10];
- alpha = -0.1 + 0.3j;
- x = exp(alpha*n);
- subplot(2,2,1);
- stem(n,real(x),'filled');
- title('real part');
- xlabel('n');
- ylim([-3,2]);
- subplot(2,2,2);
- stem(n,imag(x),'filled');
- title('imaginary part');
- xlabel('n');
- subplot(2,2,3);
- stem(n,abs(x),'filled');
- title('magnitude part');
- xlabel('n');
- subplot(2,2,4);
- stem(n,(180/pi)*angle(x),'filled');
- title('phase part');
- xlabel('n');
6 }/ t/ s$ k$ f" X- W2 t
: T: X7 ~$ G$ D% t" o7 T8 V" g
( }% ^& F8 p5 w2 f: P
* U1 E; X; W- H. e2 w
2 a4 f1 U# H. V+ d1 _5 W/ Q |
|