MATLAB的滤波与采样
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是滤波器的截断符号数。

相关文章:

  • 2021-11-23
  • 2022-01-01
  • 2022-01-07
  • 2022-12-23
  • 2021-11-17
  • 2022-01-17
  • 2021-06-06
  • 2021-08-16
猜你喜欢
  • 2022-12-23
  • 2021-05-17
  • 2021-12-29
  • 2021-12-28
  • 2021-09-25
  • 2021-08-26
  • 2021-11-23
相关资源
相似解决方案