num = eng2num( str )
Versión 1.0.0.0 (2,36 KB) por
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
Citar como
Roman Müller-Hainbach (2024). num = eng2num( str ) (https://www.mathworks.com/matlabcentral/fileexchange/59408-num-eng2num-str), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2006a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- 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 >
Más información sobre Characters and Strings en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspirado por: num2eng
Inspiración para: 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!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |