matlab 3. Write a function called MessageDecode that matches an input string scalar to a known…

Homework Help Question & Answers

matlab 3. Write a function called MessageDecode that matches an input string scalar to a known…

matlab

3. Write a function called MessageDecode that matches an input string scalar to a known text message abbreviation, and output the unabbreviated form if known. Otherwise, output “Unknown message”. Support the abbreviations: BFF—best friends forever • BTW-by the way • IDK—I don’t know • IMHO—in my humble opinion • LOL—laughing out loud • TMI—too much information Restriction: use switch statement. For example, >> myString=”BFF”; >> MessageDecode (myString) ans- “best friends forever” (Hint: part of the code may like: switch myString case “BFF” out=”best friends forever”;
0 0
Add a comment

GET HELP WITH YOUR PAPERS

GET THIS ANSWER FROM EXPERTS NOW

WhatsApp
Hello! Need help with your assignments? We are here
Don`t copy text!