[Solved]Write M File Employs Fscanf Read Text File Censustxt Obtained Clicking Zipped Txt File Mus Q37212821
Write an m-file that employs fscanf to read the text file”census.txt” obtained by clicking here (a zipped.txt file, that you must first unzip). You will need to read thefirst six words of text using the %s format (thisis to bypass the title/heading text), to access the remainingcensus data. Then, using a loop, read the name, age, and height (infeet and inches) of each person, determine the height of the personin feet only, and print the name, age, and height (in feet) to atable titled “Census Data”, with appropriate column headings. Theloop should print the name and data for all persons in the table.The last row of the table should be the average age and height forall the people listed in the text file, with an appropriate labelat the start of the row. Show each person’s age with no decimalpoints, and the heights with two decimal points. The averagesshould both show two decimal points. This should be answered inMatlab and a photo of the census.txt is pictured below

Census Data height feet inches Name age (years) Bill 18 Mary 23 Jill 45 Sam Joe Phil Kim Vince 29 Chuck 68 Harvey 55 4 34 41 32 39 10 Show transcribed image text Census Data height feet inches Name age (years) Bill 18 Mary 23 Jill 45 Sam Joe Phil Kim Vince 29 Chuck 68 Harvey 55 4 34 41 32 39 10
Expert Answer
Answer to Write an m-file that employs fscanf to read the text file “census.txt” obtained by clicking here (a zipped .txt file, th… . . .
OR

