Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Solve in Matlab! https://drive.google.com/open?id=1iW4vyKSfeQGJD2wWe5bjBVIuOtMWrByL https://drive.google.com/open?id=1HbgOL3Ut2CvGRYR2Xeq_TGy0rwWBnqmE Acme Clothing Company has hired you to rate its clothes. Clothing items are represented as structures with the fields: 2.

Solve in Matlab!

image text in transcribedimage text in transcribed

image text in transcribed

https://drive.google.com/open?id=1iW4vyKSfeQGJD2wWe5bjBVIuOtMWrByL

https://drive.google.com/open?id=1HbgOL3Ut2CvGRYR2Xeq_TGy0rwWBnqmE

Acme Clothing Company has hired you to rate its clothes. Clothing items are represented as structures with the fields: 2. Condition, Color, Price, Matches, and Comfort These items will have a rating from 0 to 5 for each field. Acme uses the following equation to get the final rating: Rating-5*Conditions+3 * Color+2*Price+Matches+9*Comfort Create the structure below, using the provided data files, clothingltems.mat and clothesScores.txt, and call it acmeClothes. You will use this to automatically rate the clothing in your script. HINT: There are many ways to build this struct array. One way is to put each column of the clothesScores matrix into a cell array using num2cell(), then use a single call to the struct () function to create the array. Another way is to build it element by-element and field-by-field using a loop a. Acme Clothing Company has hired you to rate its clothes. Clothing items are represented as structures with the fields: 2. Condition, Color, Price, Matches, and Comfort These items will have a rating from 0 to 5 for each field. Acme uses the following equation to get the final rating: Rating-5*Conditions+3 * Color+2*Price+Matches+9*Comfort Create the structure below, using the provided data files, clothingltems.mat and clothesScores.txt, and call it acmeClothes. You will use this to automatically rate the clothing in your script. HINT: There are many ways to build this struct array. One way is to put each column of the clothesScores matrix into a cell array using num2cell(), then use a single call to the struct () function to create the array. Another way is to build it element by-element and field-by-field using a loop a

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

Data Management Databases And Organizations

Authors: Richard T. Watson

3rd Edition

0471418455, 978-0471418450

More Books

Students also viewed these Databases questions