Question: this problem is done using MATLAB, thank you for the help! You have to write the two subfunctions findMinimumRecord and ExtractRecordBasedOnCountry. The question does not

this problem is done using MATLAB, thank you for the help!
You have to write the two subfunctions findMinimumRecord and ExtractRecordBasedOnCountry. The question does not already contain the answer
Table Part 1 For each of the forty largest countries in the world (according to 1990 population figures), data are given for the country's life expectancy at birth, number of people per television set, and number of people per physician. The data is stored a table tvPLE in the mat file Television_Physician_and_Life_Expectancy Write a script that has two subfunctions: 1) findMinimumRecord that find the minimum life expectancy in the dataset, and the extract the accompanying record, and 2) ExtractRecordBasedOnCountry to find the record given the name of a country, and extract the record. The main script should call the two functions as indictated in the Learner Template. The countries in the table are 'Argentina" Bangladesh' Brazil' Canada China Colombia Egypt "Ethiopia' France "Germany India' Indonesia Iran' Italy Japan Kenya Korea, North' Korea, South Mexico Morocco Myanmar (Burma)'Taiwan' Pakistan' Peru "Philippines" Poland Romania Russia South Africa Spain Sudan Tanzania' Thailand Turkey Ukraine "United Kingdom 'United States 'Venezuela" 'Vietnam Zaire For example load Television_Physician_and_Life_Expectancy record-ExtractRecordBasedOnCountry(tvPLE, 'South Africa') record = 1x6 table Country Life_expct Pple_per_televPple_per_phys Female_1f_expct Male_1f_expct South Africa 64 1340 67 61 Table Part 1 For each of the forty largest countries in the world (according to 1990 population figures), data are given for the country's life expectancy at birth, number of people per television set, and number of people per physician. The data is stored a table tvPLE in the mat file Television_Physician_and_Life_Expectancy Write a script that has two subfunctions: 1) findMinimumRecord that find the minimum life expectancy in the dataset, and the extract the accompanying record, and 2) ExtractRecordBasedOnCountry to find the record given the name of a country, and extract the record. The main script should call the two functions as indictated in the Learner Template. The countries in the table are 'Argentina" Bangladesh' Brazil' Canada China Colombia Egypt "Ethiopia' France "Germany India' Indonesia Iran' Italy Japan Kenya Korea, North' Korea, South Mexico Morocco Myanmar (Burma)'Taiwan' Pakistan' Peru "Philippines" Poland Romania Russia South Africa Spain Sudan Tanzania' Thailand Turkey Ukraine "United Kingdom 'United States 'Venezuela" 'Vietnam Zaire For example load Television_Physician_and_Life_Expectancy record-ExtractRecordBasedOnCountry(tvPLE, 'South Africa') record = 1x6 table Country Life_expct Pple_per_televPple_per_phys Female_1f_expct Male_1f_expct South Africa 64 1340 67 61
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
