Numeric Efficiency Examples

Examples of crafting numeric efficienct embedded designs using mixtures of fixed-point, floating-point and approximations.
29 Downloads
Updated 24 Jun 2024

Sub Folder Descriptions

HowToTestForNumericErrors: Use Data Generator to quickly generated example proving numeric flaws

ManyFacesOfNan: Show examples of several bit encodings that are represent NaN in double

Cite As

Andy Bartlett (2026). Numeric Efficiency Examples (https://github.com/mathworks/NumericEfficiencyExamples), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with R2019b and later releases
Platform Compatibility
Windows macOS Linux

DisplayTools

DisplayTools/+numericDispUtil

DisplayTools/+numericDispUtil/@groupNumericAttrib2

DisplayTools/+numericDispUtil/@scalarNumericAttrib

DisplayTools/private

ExampleMaximumStorageEfficiency

Explainer

HiddenGemCodeGenTestingTarget

HowToTestForNumericErrors

ManyFacesOfNan

MoreEfficientCodeInTwoClicks

ShoulderZone

Tools

Tools/Shims/CastToFromFi

Tools/Shims/CastToFromFi/private

Tools/private

WrapSfun64BitInt

WrapSfun64BitInt/DynamicTypeHandling

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.