Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

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

35 correct solutions 55 incorrect solutions
Last solution submitted on Jul 22, 2015