Number to Scientific Prefix

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

다운로드
다운로드

이 제출물을 팔로우합니다

인용 양식

Stephen23 (2026). Number to Scientific Prefix (https://kr.mathworks.com/matlabcentral/fileexchange/33174-number-to-scientific-prefix), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help Center 및 MATLAB Answers에서 Data Type Conversion에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • R2014b 이상 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
5.0.5

* Documentation changes

다운로드
5.0.4

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

다운로드
5.0.3

* convert test function to class.

다운로드
5.0.2

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

다운로드
5.0.1

- Documentation improvements.
- Added WAITBAR to test function.

다운로드
5.0.0

* New options and option parsing.
* Revised outputs.

다운로드
4.1.5

* update image.

다운로드
4.1.4

* Documentation improvements.
* Example RKM function.

다운로드
4.1.3

* Improve test function robustness.

다운로드
4.1.2

* Correct SEE ALSO references.

다운로드
4.1.1

* Update screenshot.

다운로드
4.1.0

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

다운로드
4.0.2

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

다운로드
4.0.1

* Fix HTML table formatting.

다운로드
4.0.0

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

다운로드
3.2.1

* Add error IDs.

다운로드
3.2.0

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

다운로드
3.1.3

* More test cases.
* More robust whitespace handling.

다운로드
3.1.2

* Update documentation.
* Default non-breaking space.

다운로드
3.1.1

* Improve documentation.

다운로드
3.1.0

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

다운로드
3.0.1

* Improve documentation.

다운로드
3.0.0

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

다운로드
2.1.0

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

다운로드
2.0.0

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

다운로드
1.13.0

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

다운로드
1.12.0

- Default is now lower-case E-notation.

다운로드
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.

다운로드
1.10.0

- Edit the help section a little.

다운로드
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.

다운로드
1.8.0

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

다운로드
1.6.0

- Fix edge case (val=1).

다운로드
1.5.0

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

다운로드
1.3.0

Provide useage examples.

다운로드
1.1.0

Edit file description to be more accurate.

다운로드
1.0.0

다운로드