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

3 visualizzazioni (ultimi 30 giorni)
A fuction that convert Roman number into decimal and vice versa.

Risposta accettata

Image Analyst
Image Analyst il 27 Mag 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.

Più risposte (1)

Mahdi
Mahdi il 27 Mag 2014
Have a look at this function.

Categorie

Scopri di più su Operators and Elementary Operations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by