Separate Digits from a single number in Simulink

Version 2.0.0.0 (19.4 KB) by James
Separate Digits from a single number in Simulink
429 Downloads
Updated 7 Jul 2015

View License

Just a simple function that separates a single number (also decimals) to its constituent digits.
For example, if the number is 4328.76,

The model separates this number to 6 digits/output signals: '4' , '3' , '2' , '8' , '7' and '6'.

Cite As

James (2024). Separate Digits from a single number in Simulink (https://www.mathworks.com/matlabcentral/fileexchange/52015-separate-digits-from-a-single-number-in-simulink), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on General Applications in Help Center and MATLAB Answers
Acknowledgements

Inspired: Binary Stopwatch with Arduino

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
2.0.0.0

Added decimals, Updated title

1.0.0.0