Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the data in mat file are only list of country. as shown below. As there is no way to post mat file in Chegg .

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

the data in mat file are only list of country. as shown below. As there is no way to post mat file in Chegg . There is a sample script that instructor gives as well.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

This assignment is designed to provide you with practice using functions to perform computations. You will also practice using repetition/loops, selections, and formatting outputs. You vill develop a MATLAB program that utilizes functions/sub-functions to summarize medal standings from the Winter Olympics based on results from individual sports. Problem and Progra am As a part-time blog writer for a major sports network you are tasked with providing a reader- friendly summary of the most recent Winter Olympics. This will be an integral part of an article that ill be used to discuss the next Olympic Games. Given detailed results from the Winter Olympics, which were provided to you by your supervisor, you are asked to summarize the medal standing for all participating countries. Your input data, which is provided in the olympics .mat file that can be downloaded from the eClass/Moodle, includes the following variables: - countries, which lists countries that scored medals. The countries are coded using three letter abbreviations. e.g., C N stands for Canada. We use country code to denote a case where two countries received the same medal (silver) in the same sport, i.e.. there was a tie gold, silver and bronze, which list the countries that received gold, silver, and bronze medals, respectively. Note that the gold, silver and bronze variables list the data in the same order. This means that the it* row in these variables gives the countries that received the coITesponding three types of medals for the same sport This assignment is designed to provide you with practice using functions to perform computations. You will also practice using repetition/loops, selections, and formatting outputs. You vill develop a MATLAB program that utilizes functions/sub-functions to summarize medal standings from the Winter Olympics based on results from individual sports. Problem and Progra am As a part-time blog writer for a major sports network you are tasked with providing a reader- friendly summary of the most recent Winter Olympics. This will be an integral part of an article that ill be used to discuss the next Olympic Games. Given detailed results from the Winter Olympics, which were provided to you by your supervisor, you are asked to summarize the medal standing for all participating countries. Your input data, which is provided in the olympics .mat file that can be downloaded from the eClass/Moodle, includes the following variables: - countries, which lists countries that scored medals. The countries are coded using three letter abbreviations. e.g., C N stands for Canada. We use country code to denote a case where two countries received the same medal (silver) in the same sport, i.e.. there was a tie gold, silver and bronze, which list the countries that received gold, silver, and bronze medals, respectively. Note that the gold, silver and bronze variables list the data in the same order. This means that the it* row in these variables gives the countries that received the coITesponding three types of medals for the same sport

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions