This function decodes an engineering representation:
[valor,unidad] = eng2num(string_valor)
[0.01,'F'] = eng2num('10mF')
[0.01,''] = eng2num('10m')
0.01 = eng2num('10m')
Also available num2eng
Cita come
Jordi Palacin (2024). eng2num (https://www.mathworks.com/matlabcentral/fileexchange/7615-eng2num), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Language Fundamentals > Data Types > Numeric Types >
- MATLAB > Language Fundamentals > Entering Commands >
Scopri di più su Numeric Types in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: Scientific Prefix to Number, Number to Scientific Prefix
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |