Function File: ord = iptnum2ordinal (num)

Convert number to ordinal string.

num must be a real positive integer which will be converted to a string with its ordinal form ord.

iptnum2ordinal (1)
      ⇒ first
iptnum2ordinal (12)
     ⇒ twelfth
iptnum2ordinal (21)
     ⇒ 21st

See also: num2str, sprintf, int2str, mat2str.

Package: image