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
Cite As
Jordi Palacin (2026). eng2num (https://se.mathworks.com/matlabcentral/fileexchange/7615-eng2num), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Numeric Types >
- MATLAB > Language Fundamentals > Entering Commands >
Find more on Numeric Types in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Scientific Prefix to Number, Number to Scientific Prefix
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
