num = eng2num( str )
版本 1.0.0.0 (2.4 KB) 作者:
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
引用格式
Roman Müller-Hainbach (2024). num = eng2num( str ) (https://www.mathworks.com/matlabcentral/fileexchange/59408-num-eng2num-str), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2006a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- 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 >
在 Help Center 和 MATLAB Answers 中查找有关 Characters and Strings 的更多信息
标签
致谢
参考作品: num2eng
启发作品: 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!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |