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

3 visualizaciones (últimos 30 días)
A fuction that convert Roman number into decimal and vice versa.

Respuesta aceptada

Image Analyst
Image Analyst el 27 de Mayo de 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.

Más respuestas (1)

Mahdi
Mahdi el 27 de Mayo de 2014
Have a look at this function.

Categorías

Más información sobre Operators and Elementary Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by