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'.
引用格式
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. 检索时间: .
MATLAB 版本兼容性
创建方式
R2015a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 General Applications 的更多信息
标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!