num2str with metric prefix

Converts numbers to strings in engineering notation

You are now following this Submission

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 (2026). num2str with metric prefix (https://www.mathworks.com/matlabcentral/fileexchange/20950-num2str-with-metric-prefix), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

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