Problem 1069. Phoneword Translator

Given an alphanumeric telephone number (Ex. 1-800-COLLECT), return the purely numeric phone number as a vector. This problem uses the US number associations as shown below


    phoneword = '1-800-COLLECT';
    phonenumber = phoneword2number(phoneword);


    phonenumber = [1 8 0 0 2 6 5 5 3 2 8]

Solution Stats

48.68% Correct | 51.32% Incorrect
Last Solution submitted on Oct 22, 2022

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers59

Suggested Problems

More from this Author55

Problem Tags

Community Treasure Hunt

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

Start Hunting!