num2digit.zip

版本 1.0.0.0 (20.0 KB) 作者: Duc Chung Tran
Split a positive number into digits, following the digit order from the original number
239.0 次下载
更新时间 2014/5/5

查看许可证

With this file you can split a number into digits.
Example:
a=num2digit(1986321,10)

a =

0 0 0 1 9 8 6 3 2 1

This function is useful when reading and splitting numbers from a text file into MATLAB work space. Additionally the function shall be used for splitting a binary number into a series of 1/0 digits with the same length to be used in training/testing neural networks or similar applications.

引用格式

Duc Chung Tran (2024). num2digit.zip (https://www.mathworks.com/matlabcentral/fileexchange/46459-num2digit-zip), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Function Approximation and Clustering 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0