File Exchange

image thumbnail

Convert Arabic to Roman

version 1.1.0.1 (1.61 KB) by Stacey Gage
Convert Arabic numerals to Roman numerals

2 Downloads

Updated 01 Sep 2016

View Version History

View License

S = ARABIC2ROMAN( N ) produces the Roman numeral, S, for a given Arabic numeral, N. N is a scalar number. S returns a string.
Limitation: Does not handle Arabic values greater than 3999

Cite As

Stacey Gage (2021). Convert Arabic to Roman (https://www.mathworks.com/matlabcentral/fileexchange/15545-convert-arabic-to-roman), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Stephen Cobeldick

Tidy and clearly written code. A useful help section, including an H1 line and some useful examples.

The only drawback to this code is the algorithm itself: concatenation in loops.

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!