Question: Matlab.. instructions want specific things in code LAB ACTIVITY 23.42.1: Text Message Expander (Strings) This tool is provided by a third party. Your activity is
Matlab.. instructions want specific things in code
LAB ACTIVITY 23.42.1: Text Message Expander (Strings) This tool is provided by a third party. Your activity is always recorded, but you may need to refresh the page to fill in the banner. 0/5 Text Message Expander Write a function ExpandMessage that receives an input string that contains text message abbreviatipons. The function returns a string in which all the text messages abbreviations have been expanded. Support the abbreviations LOL -laughing out loud IDK - I don't know - BFF --best friends forever IMHO - in my humble IMI too much intormation TYL-talk to you later The input string could be any length. For example userString-'IDK how that happened. TTYL decodedString = ExpandMessage ( userString) Produces I don't how that happened. talk to you later Restriction: Use the internal function strrep Your Function Save Reset MATLAB Documentation 1 function decodedStringExpandMessage( userString) 2 3 end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
