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
Zitieren als
Jordi Palacin (2025). eng2num (https://www.mathworks.com/matlabcentral/fileexchange/7615-eng2num), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R14
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Language Fundamentals > Data Types > Numeric Types >
- MATLAB > Language Fundamentals > Entering Commands >
Mehr zu Numeric Types finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert: Scientific Prefix to Number, Number to Scientific Prefix
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |