ORDNUMSTR

Makes an ordinal numeral string from a number, e.g. 3 becomes 3rd.

Download
Download

You are now following this Submission

Cite As

Richie Cotton (2026). ORDNUMSTR (https://se.mathworks.com/matlabcentral/fileexchange/20851-ordnumstr), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Number to Ordinal String Converter

Inspired: Numeric to Ordinal-String

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Bug fix: Input of integer ending 11, 12 or 13 now (really!) correctly handled.

Download