Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using Matlab, please I need help, read the problem well Funetion Name: zonbiaSpeach speech_countad.txt Inputs 2 bMZaARnRZ: 2 l AR: 1 1. (char The name
Using Matlab, please I need help, read the problem well
Funetion Name: zonbiaSpeach speech_countad.txt Inputs 2 bMZaARnRZ: 2 l AR: 1 1. (char The name of a text file, including the extension File Outputs 5 RAHRNN: 1 El ZMhaHG: 1 7 ZMHRnGBHAMZ: 1 B hHRZM: 1 1. A formatted text file containing informaton about the speech Banned Functions: unique) Background The zombie apocalypse has finally reached Georgia Tech, and the zombies, having once been the highly intelligent students found at GT, have prepared speeches to wam the remaining students of thair intentions. Lucky for you, you remombored to bring MATLAB with you to the bunker, so you can use it to help analyze the zombies' garbled spesches and determine how dire the situation is. Notes: There should be a newline character at the end of your file The input files to be counted will only contain letters and spaces Hints: Function Description: sort) preserves the original ordor of duplicated elements. In ordor to sort by two Write a MATLAB function to count the number of cccurrences of cach unique word found things, think about how you could use the sort() function twice in a spooch. Tho scarch should bo case sonsitive when looking for unique words, and any charactcrs other than letters or sparcs shoud be romoved. Thc words shoud appcar in descending order of how many times they appear If ther ar ties, thry should be sorted alphabetically, Yau shoud utput your results in a text file, formated in the folwing way The oup etfile: shauld have the ameStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started