Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 933. Ordinal numbers

Created by Tim

Given an integer n, return the corresponding ordinal number as a character string. For example,


This is the dictionary definition of ordinal number, as opposed to the mathematical definition.

Problem Group

Solution Statistics

37 correct solutions 61 incorrect solutions
Last solution submitted on May 31, 2016