Separate Digits from a single number in Simulink
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'.
Zitieren als
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. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert: Binary Stopwatch with Arduino
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
2.0.0.0 | Added decimals, Updated title |
||
1.0.0.0 |