Downsampling using MATLAB Simulink for an input signal

8 ビュー (過去 30 日間)
muhammad ahmad
muhammad ahmad 2022 年 7 月 6 日
回答済み: Bharath Venkataraman 2022 年 7 月 12 日
I am trying to downsample a signal of 20MHz to 1 MHz using Simulink. my targetted hardware is ZYNQ706 with AD9361 when do I downsample the signal I need to add buffer and unbuffer before and after downsampler but the problem is we cannot generate HDL code for these for that purpose we are using serializer and deserializer but using these blocks we have following issues
It slows down the bit file generation
It skips the low amplitude signals that might be due to low sample counts
How can I resolve the issue so I may be able to downsample the signal correctly and the generation of bit files speed is also not impacted. Is ther any other block with same purpose with HDL code generation
  3 件のコメント
muhammad ahmad
muhammad ahmad 2022 年 7 月 6 日
I am using Downsample block

サインインしてコメントする。

回答 (1 件)

Bharath Venkataraman
Bharath Venkataraman 2022 年 7 月 12 日
You can use the Downsample block with Scalar input in DSP System Toolbox.
As Walter points out, you can also use the HDL Optimized blocks in DSP HDL Toolbox - these include FIR Decimator and the FIR Rate Converter blocks.

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by