Code covered by the BSD License  

Highlights from
Convert Arabic to Roman

Be the first to rate this file! 13 Downloads (last 30 days) File Size: 1.61 KB File ID: #15545 Version: 1.1

Convert Arabic to Roman

by

Stacey Gage (view profile)

 

10 Jul 2007 (Updated )

Convert Arabic numerals to Roman numerals

| Watch this File

File Information
Description

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

Required Products MATLAB
MATLAB release MATLAB 7.4 (R2007a)
MATLAB Search Path
/
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
21 Mar 2015 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.

Comment only
Updates
12 Nov 2014 1.1

update to MATLAB Toolbox file format

Contact us