next up previous contents
Next: Programming Style Up: Creating Your Own Previous: Seek to Vectorize

Composition of Functions

MATLAB supports the paradigm of ``functional programming'' which in the language of system theory is equivalent to cascading systems. Consider the following equation which can be implemented with one line of MATLAB code.

Here is the MATLAB equivalent:



William Simcoe
Tue Apr 15 18:51:39 EDT 1997