output data type of fix point Add/sub block
1 回表示 (過去 30 日間)
古いコメントを表示
My SIMULINK Add/Sub block performing
c=a+b.
As shown below
Data type of "a" and "b" is sfi(25, 17) whereas
data type of output "c" is here sfi(32, 17).
My question is how "c" output data type is sfi(32, 17) ?
It should be sfi(26, 17) as per addition rule.
Note: output data type is set to : "Inherit: Same as accumulator".
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/760821/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/760826/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/760831/image.jpeg)
Thanks........
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!