O'Reilly logo

MATLAB® and Its Applications in Engineering: [Based on MATLAB 7.5 (R2007b)] by Manoj Kumar Sharma, Ashok Kumar Goel, Raj Kumar Bansal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8.4. Function Subprograms

A large and complex task can be easily executed if divided into smaller sub-tasks or modules. Function subprograms are program segments that are written for implementing a sub-task or a module or a sub-module. These subprograms are developed separately and can be executed independently. These can also be used by other programs. Functions subprograms can be written for the common tasks that are frequently required by many users so that the users do not need to waste time writing code for the common tasks. All users can simply use the functions in their programs. MATLAB also has in its store numerous function subprograms for common tasks related to many fields such as mathematical functions, matrices, graphs, solving ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required