From: ken thompson on
Using MATLAB how do i write a program, using basic programming constructs, that simulates a discrete feed forward circuit with 2 coefficients and then 3 coefficients using, a = 0.3, 0.4 and a = 0.1,0.4,0.3. Assuming the first coefficient represent zero delay.
From: Guy Rouleau on
"ken thompson" <sam_super1(a)hotmail.com> wrote in message <hq4c37$26q$1(a)fred.mathworks.com>...
> Using MATLAB how do i write a program, using basic programming constructs, that simulates a discrete feed forward circuit with 2 coefficients and then 3 coefficients using, a = 0.3, 0.4 and a = 0.1,0.4,0.3. Assuming the first coefficient represent zero delay.

The control System Toolbox is appropriate for that. Create the system using for example Tf ans simulation using LSIM.

An intro on how to build system:

http://www.mathworks.com/access/helpdesk/help/toolbox/control/getstart/f1-1010549.html

and the doc for LSIM:

http://www.mathworks.com/access/helpdesk/help/toolbox/control/ref/lsim.html

I hope this helps.

Guy