Number to Scientific Prefix

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

Télécharger
Télécharger

Vous suivez désormais cette soumission

Citation pour cette source

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

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec les versions R2009b et ultérieures

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
5.0.5

* Documentation changes

Télécharger
5.0.4

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

Télécharger
5.0.3

* convert test function to class.

Télécharger
5.0.2

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

Télécharger
5.0.1

- Documentation improvements.
- Added WAITBAR to test function.

Télécharger
5.0.0

* New options and option parsing.
* Revised outputs.

Télécharger
4.1.5

* update image.

Télécharger
4.1.4

* Documentation improvements.
* Example RKM function.

Télécharger
4.1.3

* Improve test function robustness.

Télécharger
4.1.2

* Correct SEE ALSO references.

Télécharger
4.1.1

* Update screenshot.

Télécharger
4.1.0

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

Télécharger
4.0.2

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

Télécharger
4.0.1

* Fix HTML table formatting.

Télécharger
4.0.0

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

Télécharger
3.2.1

* Add error IDs.

Télécharger
3.2.0

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

Télécharger
3.1.3

* More test cases.
* More robust whitespace handling.

Télécharger
3.1.2

* Update documentation.
* Default non-breaking space.

Télécharger
3.1.1

* Improve documentation.

Télécharger
3.1.0

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

Télécharger
3.0.1

* Improve documentation.

Télécharger
3.0.0

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

Télécharger
2.1.0

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

Télécharger
2.0.0

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

Télécharger
1.13.0

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

Télécharger
1.12.0

- Default is now lower-case E-notation.

Télécharger
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.

Télécharger
1.10.0

- Edit the help section a little.

Télécharger
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.

Télécharger
1.8.0

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

Télécharger
1.6.0

- Fix edge case (val=1).

Télécharger
1.5.0

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

Télécharger
1.3.0

Provide useage examples.

Télécharger
1.1.0

Edit file description to be more accurate.

Télécharger
1.0.0

Télécharger