num = eng2num( str )
Version 1.0.0.0 (2,36 ko) par
Roman Müller-Hainbach
Convert string with engineering-notation to number. Engineering notation comes from SPICE3-standard.
Examples:
>> eng2num('4.7k')
ans = 4700
>> eng2num('10mA')
ans = 0.0100
>> eng2num('3u3F')
ans = 3.3000e-06
>> eng2num('0R01')
ans = 0.0100
Citation pour cette source
Roman Müller-Hainbach (2024). num = eng2num( str ) (https://www.mathworks.com/matlabcentral/fileexchange/59408-num-eng2num-str), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2006a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Language Fundamentals > Data Types > Characters and Strings >
- MATLAB > Language Fundamentals > Entering Commands >
- MATLAB > External Language Interfaces > Other languages > SPICE files >
- FPGA, ASIC, and SoC Development >
En savoir plus sur Characters and Strings dans Help Center et MATLAB Answers
Tags
Remerciements
Inspiré par : num2eng
A inspiré : matlab code for the numbers which are equal to sum of the factorial of their respective digits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |