Info

此问题已关闭。 请重新打开它进行编辑或回答。

Sorting line bell peppers

1 次查看(过去 30 天)
Moe Makki
Moe Makki 2021-5-24
关闭: Matt J 2021-5-24
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 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by