Info

This question is closed. Reopen it to edit or answer.

Sorting line bell peppers

1 view (last 30 days)
Moe Makki
Moe Makki on 24 May 2021
Closed: Matt J on 24 May 2021
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)

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!