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

4 Ansichten (letzte 30 Tage)
A fuction that convert Roman number into decimal and vice versa.

Akzeptierte Antwort

Image Analyst
Image Analyst am 27 Mai 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.

Weitere Antworten (1)

Mahdi
Mahdi am 27 Mai 2014
Have a look at this function.

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by