Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help! Must be in Matlab. The target specification for the nominal distance between faces on the hexagonal bolt head is 0.50 inches. The company

image text in transcribed

image text in transcribed

Please help! Must be in Matlab.

The target specification for the nominal distance between faces on the hexagonal bolt head is 0.50 inches. The company has a goal that this new process will produce bolts with a tolerance of +0.01 inches on this dimension, meaning the bolts produced will have a face distance between 0.49 and 0.51 inches. Code has already been provided to define a function named toleranceCheck that accepts a column vector of 500 measurements of bolts collected from a manufacturing run into a single input variable named boltMeasurements. Add code to the function to perform the following tasks using the data in the input vector and assign the results to the indicated variable names. Scan through the values in the input vector and build a column vector named missedBy that documents any measurements that miss the tolerance as follows. For cases in which the measurement is outside the range, assign a value equal to the absolute value of the difference between the measurement and the closest limit of the tolerance range. For example, a measurement of 0.47 would mean a value of 0.47 -0.49 = 0.02 should be assigned to the corresponding position in the output vector. A measurement of 0.55 would mean a value of 0.55-0.51 = 0.04 should be assigned to the corresponding position in the output vector. The values in the missedBy vector should be in the same order the associated measurements appear in the input variable boltMeasurements. Compute the percentage of the measurements that meet the tolerance (i.e. 0.49

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

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

Outline the factors that infuence team success.

Answered: 1 week ago

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago