Sorting line bell peppers

Suppose you are requested to design a sorting line of bell peppers based on color and weight. Simply, the line
will separate the peppers into 3 colors (Red, Yellow and Green) then classify the same-color pepper based on
weight (less and greater than 120 grams).
Draw a flowchart of the function of this sorting line, then write down a MATLAB code that implements it.
Assume one sensor input for color (R, Y, or G), and three sensors for weight (one for each same-color line).
Need help with this
Note: (Super beginner in matlab (1st year student))
(if possible to use if statements and for or while loops only)

回答(0 个)

此问题已关闭。

提问:

2021-5-24

关闭:

2021-5-24

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by