output data type of fix point Add/sub block
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!