Question: this is MATLAB Text Message Abbreviation Decoder Write a function called DecoderMessage that matches a user's input string scalar to a known text message abbreviation,

this is MATLAB

Text Message Abbreviation Decoder

Write a function called DecoderMessage that matches a user's input string scalar to a known text message abbreviation, and output the unabbreviated form if known. Otherwise, output: Unknown. Support the abbreviations:

LOL -- laughing out loud

IDK -- I don't know

BFF -- best friends forever

IMHO -- in my humble opinion

TMI - too much information

Restriction: Use the switch branching structure. For example:

this is MATLAB Text Message Abbreviation Decoder Write a function called DecoderMessagethat matches a user's input string scalar to a known text messageabbreviation, and output the unabbreviated form if known. Otherwise, output: Unknown. Support

Text Message Abbreviation Decoder Write a function called DecoderMessage that matches a user's input string scalar to a known text message abbreviation, and output the unabbreviated form if known. Otherwise, output: Unknown. Support the abbreviations LOL laughing out loud IDK -I don't know BFF -- best friends forever - IMHO in my humble opinion TMI too much information Restriction: Use the switch branching structure. For example: >> userString="LOL..; >> decodedString = DecoderMessage( userString ) decodedString - "laughing out loud" Your Function Save Reset MATLAB Documentation | 1 function decodedst ring = DecoderMessage ( users tring ) % Insert your code here % 4 5 end Code to call your function C Reset

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!