You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Converts a string with (possibly) an SI prefix to a number. Works in reverse of num2sci. Works with cell arrays of strings also.
Examples:
num = sci2num('14.5 m') returns num = 0.0145
num = sci2num('14.5') returns num = 14.5
num = sci2num({'14.5m','85.2'}) returns num = [0.0145 85.2]
Cite As
Jason Kaeding (2026). sci2num (https://www.mathworks.com/matlabcentral/fileexchange/26828-sci2num), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Scientific Prefix to Number, Number to Scientific Prefix
General Information
- Version 1.0.0.0 (1.51 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
