num2str with metric prefix

Version 1.0.0.0 (1.37 KB) by Mark T
Converts numbers to strings in engineering notation
1.2K Downloads
Updated 12 Aug 2008

View License

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 Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers

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

Incorrect use of cat, instead of strvcat was causing error for some input vectors...oops!