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:
![]()