Converting numbers back from extended form - MATLAB Cody - MATLAB Central

Problem 1879. Converting numbers back from extended form

Difficulty:Rate

Thanks for all the help you guys gave me on writing out the numbers in extended form in Problem 1871. I got so good at it thanks to your help, now my teacher wants me to do the opposite. She's going to give me the number in extended form, and she wants me to write it out normally. In this case, the string '10000+200+30+4' would be the input, and the output would be the number 10234.

First I expand the number, and then I contract it. I wish she could just make up her mind!

Solution Stats

54.08% Correct | 45.92% Incorrect
Last Solution submitted on Mar 25, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
1
2
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers119

Suggested Problems

More from this Author80

Community Treasure Hunt

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

Start Hunting!
Go to top of page