hTxFilt = comm.RaisedCosineTransmitFilter(‘OutputSamplesPerSymbol’,8);
hRxFilt = comm.RaisedCosineReceiveFilter(‘InputSamplesPerSymbol’,8, …
‘DecimationFactor’,8);
txCoef = coeffs(hTxFilt);
rxCoef = coeffs(hRxFilt);
hfv = fvtool(txCoef.Numerator,1,rxCoef.Numerator,1);
legend(hfv,‘Tx Filter’,‘Rx Filter’)
x = 2*randi([0 1],100,1) - 1;
y = step(hTxFilt,x);
z = step(hRxFilt,y);
delay = hTxFilt.FilterSpanInSymbols;
plot(x(1:end-delay))
hold on
plot(z(delay+1:end))
legend(‘Pre-Tx Filter’,‘Post-Rx Filter’)
注意!!!发送端滤波之前的信号x(1:end-delay)与接收端滤波之后的信号z(delay+1:end)做比较。
delay是滤波器的截断符号数。
本文发布于:2024-02-04 21:35:19,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170716969459828.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |