Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

A machine cuts N pieces of a pipe. After each cut, each piece of the pipe is weighed and its length is measured. These two

A machine cuts N pieces of a pipe. After each cut, each piece of the pipe is weighed and its length is measured. These two values are stored in a matrix called pipe where the first column is the length and the second column is the weight. Each row represents the weight and length of a cut piece of pipe. Ignoring units, the weight is supposed to be between 2.1 and 2.3, inclusive. The length is supposed to be between 10.3 and 10.4, inclusive.

Create a flow chart to do the following, using MATLAB syntax in all blocks: Count how many rejects there are. A reject is any piece that has an invalid weight and/or length. Return the number of rejects Return the percentage of the total number of parts that are rejects You can assume that your flow chart is a section of a larger flow chart that describes the entire cutting/measurement process. Therefore, it is not necessary to have a start block.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions