Top-down Program Design(3/14) Start State the problem If the subtasks are large,the designer can break Define inputs them up into even smaller sub-subtasks and outputs Decomposition Design the algorithm Stepwise refinement Convert algorithm into MATLAB Define the funcions of the piece in statements greater and greater detail CDHAW Test the End resulting program @月两大学 TONGJI UNIVERSITYStart State the problem Define inputs and outputs Design the algorithm Convert algorithm into MATLAB statements Test the resulting program End Decomposition Stepwise refinement If the subtasks are large, the designer can break them up into even smaller sub-subtasks Define the funcions of the piece in greater and greater detail Top-down Program Design(3/14)