num = eng2num( str )

Convert string with engineering-notation to number. Engineering notation comes from SPICE3-standard.
60 Downloads
Updated 3 Oct 2016

View License

Examples:
>> eng2num('4.7k')
ans = 4700

>> eng2num('10mA')
ans = 0.0100

>> eng2num('3u3F')
ans = 3.3000e-06

>> eng2num('0R01')
ans = 0.0100

Cite As

Roman Müller-Hainbach (2024). num = eng2num( str ) (https://www.mathworks.com/matlabcentral/fileexchange/59408-num-eng2num-str), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0