num2str with metric prefix
Version 1.0.0.0 (1.37 KB) by
Mark T
Converts numbers to strings in engineering notation
Converts numbers to strings in engineering notation. Produces string (array) from numbers with mantissa and metric prefix (every third power of 10 between 1e-24 to 1e24).
Cite As
Mark T (2024). num2str with metric prefix (https://www.mathworks.com/matlabcentral/fileexchange/20950-num2str-with-metric-prefix), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: 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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Incorrect use of cat, instead of strvcat was causing error for some input vectors...oops! |