Number to Scientific Prefix

Convert a numeric value to SI-prefixed text (aka engineering / metric prefix). Bonus: binary prefixes!

Herunterladen
Herunterladen

Sie verfolgen jetzt diese Einreichung

Zitieren als

Stephen23 (2026). Number to Scientific Prefix (https://de.mathworks.com/matlabcentral/fileexchange/33174-number-to-scientific-prefix), MATLAB Central File Exchange. Abgerufen .

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit R2014b und späteren Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
5.0.5

* Documentation changes

Herunterladen
5.0.4

- Simplify trailing zero removal.
- Add and improve testcases.

Herunterladen
5.0.3

* convert test function to class.

Herunterladen
5.0.2

- Code and documentation refactoring
- Add engineering notation (experimental)

Herunterladen
5.0.1

- Documentation improvements.
- Added WAITBAR to test function.

Herunterladen
5.0.0

* New options and option parsing.
* Revised outputs.

Herunterladen
4.1.5

* update image.

Herunterladen
4.1.4

* Documentation improvements.
* Example RKM function.

Herunterladen
4.1.3

* Improve test function robustness.

Herunterladen
4.1.2

* Correct SEE ALSO references.

Herunterladen
4.1.1

* Update screenshot.

Herunterladen
4.1.0

* Add 3rd and 4th output arguments.
* Optimisations for code performance.
* Improve test function robustness.
* Add more test cases.

Herunterladen
4.0.2

* Fix bug with fixed-prefix special-case values (0, Inf, NaN).
* Add plenty of new testcases.

Herunterladen
4.0.1

* Fix HTML table formatting.

Herunterladen
4.0.0

* Accept string type inputs.
* Includes prefixes ronna, quetta, ronto and quecto.
* Improve error messages and IDs.

Herunterladen
3.2.1

* Add error IDs.

Herunterladen
3.2.0

* Add second output argument that indicates if a prefix is used or not.
* Add bonus function NUM2RKM.

Herunterladen
3.1.3

* More test cases.
* More robust whitespace handling.

Herunterladen
3.1.2

* Update documentation.
* Default non-breaking space.

Herunterladen
3.1.1

* Improve documentation.

Herunterladen
3.1.0

* Return micro character 'µ' (rather than 'u').

Herunterladen
3.0.1

* Improve documentation.

Herunterladen
3.0.0

* Add "fixed" prefix input option.
* Rewrite algorithm to use local functions.

Herunterladen
2.1.0

* Add HTML documentation.
* Empty inputs use default values.

Herunterladen
2.0.0

* Split subimssion into two: one for num->str, other for str->num.
* Rename all functions.

Herunterladen
1.13.0

- Improve handling of trailing zeros.
- Improve input checking.

Herunterladen
1.12.0

- Default is now lower-case E-notation.

Herunterladen
1.11.0

- Add control over allowing trailing zeros in string.
- Convert all string coefficients into numeric (not just the first one).
- Return split string parts as a cell array.

Herunterladen
1.10.0

- Edit the help section a little.

Herunterladen
1.9.0

- Str->Num: space character between coefficient and prefix is optional.
- Str->Num: NaN and Inf may occur with prefixes.
- Help: Simplify prefix tables.

Herunterladen
1.8.0

Upload all four functions for converting between numeric and string, for both SI and binary.

Herunterladen
1.6.0

- Fix edge case (val=1).

Herunterladen
1.5.0

- Allow positive/negative input value.
- Consistent handling of Inf/NaN values.

Herunterladen
1.3.0

Provide useage examples.

Herunterladen
1.1.0

Edit file description to be more accurate.

Herunterladen
1.0.0

Herunterladen