num2digit.zip

Split a positive number into digits, following the digit order from the original number
237 download
Aggiornato 5 mag 2014

Visualizza la licenza

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.

Cita come

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

Compatibilità della release di MATLAB
Creato con R2013a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0