You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function turns a number into an ordinal string, ie 1 becomes 'first', 2 becomes 'second'. After 'twentieth', the number is used with the appropriate 'st, 'nd', 'rd', or 'th'. Useful for instructionary dialog boxes, etc.
Cite As
Bill Higley (2026). Number to Ordinal String Converter (https://nl.mathworks.com/matlabcentral/fileexchange/1930-number-to-ordinal-string-converter), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: ORDNUMSTR, Numeric to Ordinal-String
General Information
- Version 1.0.0.0 (546 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
