Why i do not get a fixed point out from a FFT HDL optimized block in simulink?

1 回表示 (過去 30 日間)
I am creating a HDL model on simulink,
using a fixed-point input on FFT HDL Optimized i get a double output, and the block parameters does not have the option of "scaling" or modify the output data type.
I am running a 2015b matlab version

採用された回答

Bharath Venkataraman
Bharath Venkataraman 2019 年 6 月 19 日
編集済み: Bharath Venkataraman 2019 年 6 月 19 日
I may need the model to do further debugging. In the meantime, I created a simple FFT model in R2018b which seems to do the right thing in terms of datatypes. One change from your model is that the values are sent in serially to the FFT rather than all at once. I have also attached a model created in 15b.
I defined the input fftIn as:
fftIn = complex(rand(128,1),rand(128,1));
  2 件のコメント
Cristhian campos
Cristhian campos 2019 年 6 月 19 日
Thank you for sharing the simple model, it worked and i will modify it to meet my objective, i dont know what is wrong with the last one identical FFT block but wathever.
I apreciate your help!.
Bharath Venkataraman
Bharath Venkataraman 2019 年 6 月 19 日
Great! FWIW, the next few releases have a lot more capabilities for the block, so if you are able to get to a later release like R2018a, you can use these capabilities.
Here are the release notes for DSP System Toolbox.

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

その他の回答 (1 件)

Bharath Venkataraman
Bharath Venkataraman 2019 年 6 月 18 日
Could you double click on the FFT block and send a snapshot of its parameters?

カテゴリ

Help Center および File ExchangeTransforms についてさらに検索

製品


リリース

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by