Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedUsing 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 ame : cnum times>' Put cach word on a ncw linc Sin Example speech.txt - Mablab conbieSpeech speech. Lxt') 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 ame : cnum times>' Put cach word on a ncw linc Sin Example speech.txt - Mablab conbieSpeech speech. Lxt')

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

=+/ Does this objective indicate a time frame?

Answered: 1 week ago

Question

6. How do histories influence the process of identity formation?

Answered: 1 week ago