Fixed-Point Blockset | ![]() ![]() |
Data ROM Required
This section looks at the data ROM required by each of the three spacing options.
Uneven Case
Uneven spacing requires both Y data points and breakpoints:
Even Case
Even spacing requires only Y data points:
The total bytes used is 20. The breakpoints are not explicitly required. The code will use the spacing between the breakpoints, and may use the smallest and largest breakpoint. At most three values related to the breakpoints are needed.
Power of Two Case
Power of two spacing requires only Y data points:
The total bytes used is 34. The breakpoints are not explicitly required. The code will use the spacing between the breakpoints, and may use the smallest and largest breakpoint. At most three values related to the breakpoints are needed.
![]() | Effect of Spacing on Speed, Error, and Memory Usage | Determining Out-of-Range Inputs | ![]() |