Numeric to Ordinal-String

Convert numeric values to a string array of integers with ordinal suffixes. Fully vectorized!

Download
Download

You are now following this Submission

Cite As

Stephen23 (2026). Numeric to Ordinal-String (https://uk.mathworks.com/matlabcentral/fileexchange/42833-numeric-to-ordinal-string), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2017a and later releases

Platform Compatibility

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

* add musical demo GUI

Download
2.3.1

* Add dependencies section.

Download
2.3.0

- Documentation improvements.
- Added WAITBAR to test function.
- Prefix minus sign to negative values.

Download
2.2.1

* Add more floating point testcases.

Download
2.2.0

* Add 2nd output, with just the suffixes.
* Remove the optional 2nd input.

Download
2.1.3

* Add testcases.

Download
2.1.2

* Update description.

Download
2.1.1

* Update description.

Download
2.1.0

* Add test cases.
* More robust input class handling.

Download
2.0.4

* Minor edits to Mfile help.

Download
2.0.3

* Include test function.
* Improve examples.

Download
2.0.2

* Correct sreenshot

Download
2.0.1

* Correct screenshot.

Download
2.0.0

* Change to string array output.
* Rename function NUM2ORDINAL -> NUM2ORD.

Download
1.5.2

* Add error IDs.

Download
1.5.1

* Added HTML documentation. Function unchanged.

Download
1.5.0

* Improve documentation.

Download
1.4.0

Added Acknowledgements

Download
1.3.0

- Fix minor bug with int* and uint*.

Download
1.2.0

- Improve function description, add acknowledgements.

Download
1.1.0

- Fix minor bugs with -0, int* & uint* handling.

Download
1.0.0

Download