Convert a Roman numeral to its decimal equivalent for first ten roman numerals?

3 views (last 30 days)
A fuction that convert Roman number into decimal and vice versa.

Accepted Answer

Image Analyst
Image Analyst on 27 May 2014
Is this homework? If so, tag it as homework. Why not just make a cell array of the first 10 Roman numerals, and then use ismember()? It's like 2 lines of code . Give it a try.

More Answers (1)

Mahdi
Mahdi on 27 May 2014
Have a look at this function.

Categories

Find more on Operators and Elementary Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!