Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In matlab 2. The following table shows the hourly wages, hours worked, and number of products assembled for 6 workers in 1 week at a

image text in transcribed In matlab
2. The following table shows the hourly wages, hours worked, and number of products assembled for 6 workers in 1 week at a final product assembly line at Southeastern HiTechBuilder Center Worker Hourly pay 15 13.5 16 15.5 14.75 13.5 Hours worked 42 36 40 48 42 50 # Products assembled 322 265 310 375 320 376 Use array indexing and relevant MATLAB features to perform the following a. Define the last three columns above as A b. Extract the hourly pay column from array A c. Extract the hours worked column from array A d. Extract the # Products assembled from array A. e. Find how much each worker earned in the given week? f. Find the total salary amount paid put? Save it as hr pay Save it as hrs Save it as no prd Save to the variable wk_pay Use sum command to get the summation of a column Find how many products were assembled? Find the average cost to assemble one product? (Total cost/Total product assembled) Find the average time, in minutes, it take to assemble one product? Total hours/Total products) *60 See the posted sample script Sales Array Exercise.m for similar operations Save to the variable salary Save to the variable prds g. h. Save to the variable avg cost i. Save to the variable avg_time

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_2

Step: 3

blur-text-image_step3

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

More Books

Students also viewed these Databases questions

Question

What are the logistics implications of internationalisation?

Answered: 1 week ago