Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

MATLAB code

image text in transcribed

image text in transcribed

This tool is provided by a third party. Your activity is always recorded bu LAB 23.60.1: Table Part 1 0/5 ACTIVITY t you may need to refresh the page to fill in the banner 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 E 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 xpectancy Argentina" Bang LadeshIndonesia' Brazil' Canada China Colombia Egypt Ethiopia France Germany 'Myanmar (Burma)'Taiwan' Pakistan Peru Philippines Poland Romania Russia South Africa Spain' Sudan India Tanzania Thailand Turkey 'Ukraine United Kingdom' United States Venezuela Vietnam Zaire Iran Italy Japan" Korea, North 'Korea, South' Mexico Morocco For example load Television_Physician_and_Life_Expectancy record-ExtractRecordBasedOnCountry (tvPLE, 'South Africa) record 1x6 table Country Life_expct Pple_per_telev Pple_per_phys Female_lf_expct Male_1f_ expct South Africa 64 1340 67 61 This tool is provided by a third party. Your activity is always recorded bu LAB 23.60.1: Table Part 1 0/5 ACTIVITY t you may need to refresh the page to fill in the banner 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 E 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 xpectancy Argentina" Bang LadeshIndonesia' Brazil' Canada China Colombia Egypt Ethiopia France Germany 'Myanmar (Burma)'Taiwan' Pakistan Peru Philippines Poland Romania Russia South Africa Spain' Sudan India Tanzania Thailand Turkey 'Ukraine United Kingdom' United States Venezuela Vietnam Zaire Iran Italy Japan" Korea, North 'Korea, South' Mexico Morocco For example load Television_Physician_and_Life_Expectancy record-ExtractRecordBasedOnCountry (tvPLE, 'South Africa) record 1x6 table Country Life_expct Pple_per_telev Pple_per_phys Female_lf_expct Male_1f_ expct South Africa 64 1340 67 61

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions

Question

What is Aufbau's rule explain with example?

Answered: 1 week ago

Question

Write Hund's rule?

Answered: 1 week ago