This repository contains MATLAB code and a stateflow model each to solve a specific problme related to determining washing times and water temperature requirements for different type of cloths.
The code categorized the cloths into three types: baby, woolen, and synthetic. Based on the category, it determines the required wsihng time and whether hot water is needed.
This solution helps opitmizing the washing process for valid cloth types.