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

3 次查看(过去 30 天)
A fuction that convert Roman number into decimal and vice versa.

采纳的回答

Image Analyst
Image Analyst 2014-5-27
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.

更多回答(1 个)

Mahdi
Mahdi 2014-5-27
Have a look at this function.

类别

Help CenterFile Exchange 中查找有关 Operators and Elementary Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by