通信
Victorique.
喵喵喵
展开
-
MATLAB画出信号的连续幅度和相位谱
Eg:画出信号x(t)的连续幅度和相位谱其中x(t)={1if −2≤t≤−1∣t∣if ∣t∣<11if 1≤t≤20else x(t) = \begin{cases} 1 &\text{if } -2\le t\le -1 \\ |t| &\text{if } |t|<1 \\ 1 &\text{if } 1\le t\le2 \\ 0&\text{else } \end{cases}原创 2021-03-19 15:13:16 · 9352 阅读 · 1 评论 -
用MATLAB画出离散幅度和相位谱
Eg:画出x(t)=cos(πt/8),|t|<=4 信号的x(t)的离散幅度和相位谱main.mecho onfnct='Fcos';a=-4; b=4; n=24; tol=0.1;xx=Fseries(fnct,a,b,n,tol);xx1=xx(n+1:-1:2);xx1=[conj(xx1),xx];absxx1=abs(xx1);pause % Press any key to see a plot of the magnitude spectrum.n1=[-原创 2021-03-19 15:00:33 · 9656 阅读 · 0 评论