num = eng2num( str )
Versione 1.0.0.0 (2,36 KB) da
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
Cita come
Roman Müller-Hainbach (2024). num = eng2num( str ) (https://www.mathworks.com/matlabcentral/fileexchange/59408-num-eng2num-str), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2006a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- 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 >
Scopri di più su Characters and Strings in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato da: num2eng
Ispirato: 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!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 |