Chapter 3

Program Design and Algorithm Development

Abstract

The objectives of this chapter are to introduce you to the art of program design. The top-down design process using a structure plan is elaborated to help you think about good problem-solving strategies as they relate to the design of procedures to effectively use MATLAB. Examples are provided, viz., the projectile problem and a harmonic oscillator problem. This chapter concludes with an introduction to user-defined MATLAB functions.

Keywords

Technical computing; Algorithm development; Program design

Get Essential MATLAB for Engineers and Scientists, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.