Notre Dame University Faculty of Engineering ENG 202 Computers and Engineering MATLAB – Class Work Fall 2018 M. Khabbaz Counting Words In A File a) Write a MATLAB program called Wordlist that reads a text file and makes an alphabetical list of all the words in that file. The list of words is output to another file. b) Improve the program in (a) so that it also keeps track of the number of times that each work occurs in the file. Write two lists to the output file. The first list contains the words in alphabetical order. The number of times that the word occurred in the file should be listed along with the word. Then write a second list to the output file in which the words are sorted according to the number of times that they occurred in the files. The word that occurred most often should be listed first.