Skip to main content

more options

Part 7: User-defined functions      Module 2

Module 1, part 8. Examples.

In this section we illustrate how the basic concepts that have been covered in the first module can be combined in carrying out more elaborate programming projects.

Take your time to carefully read through the descriptions of each of the tasks and to think about how you would approach these problems before reading the solutions.

Contents

No. Topic Description
1. Example 1: What time is it? Description
drawClockFace.m   polarxy.m   timeClock.m
Creating an analog clock like display of a given time.
2. Example 2: A dart game!   Description   dartGame.m   playTurn.m   throwDart.m   makeBoardDesign1.m   makeBoardDesign2.m   makeScoreBoard2.m   Creating an interactive matrix-based dart game.