Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I would like you to make the excel file shown and save it as HW7_4 and then follow the instructions. The script and MatLAB code

I would like you to make the excel file shown and save it as HW7_4 and then follow the instructions. The script and MatLAB code is needed. Will give thumbs up for correct answers.
image text in transcribed
image text in transcribed
Problem 4: Data Processing As you've seen in labs 8 and 9, one of the benefits of using for loops is to easily process large amounts of data. For this problem, you will be looking at data for the value (in US S) of goods imported and exported for countries around the world in 2016. This information is found in the HW7 P4.xlsx file. Write a script in MATLAB that will do the following: Loads in the import data and export data from the Excel file using the xlsread command (you should end up with 2 vectors, one for import data and one for export data): Example: data = xls read ( " filename' , ' range of cells'); Process all of the data to determine the following values: o Number of countries with more exports than imports o Number of countries with more imports than exports o Number of countries that have the same number of imports and exports o The maximum and minimum value of imports among the countries The maximum a the countries nd minimum value of exports among Display all requested values with appropriate units PASTE SCRIPT OUTPUT HERE: PASTE MATLAB CODE HERE

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 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions