Consider the following system Solve the system using the con
Consider the following system:
Solve the system using the convolution equation given a) initial conditions of z=[ 0 0 0] and an input of 5, b) initial conditions of z=[1 0 -2] and no input, and c) initial conditions of z=[1 0 -2] and an input of 5. You can do this using a MATLAB script, but then check your answers using MATLAB. Check your answers using MATLAB’s supporting functionality.
Solution
a)
x=[1 2 0;0 -3 4;2 -4 -2]
z=[0 ;0 ;0]
t=(x*z)
u=[0;0;1]*5
a=t+u
result is:a=[0;0;5] and y =0
b)
x=[1 2 0;0 -3 4;2 -4 -2]
z=[1 ;0 ;-2]
t=(x*z)
u=[0;0;1]*0;
a=t+u
result is a=[1;-8;6]
y=1
c)x=[1 2 0;0 -3 4;2 -4 -2];
z=[1 ;0 ;-2];
t=(x*z);
u=[0;0;1]*5;
a=t+u
b=[1 0 0];
y=b*z
result:a=[1;-8;11]
y-1
![Consider the following system: Solve the system using the convolution equation given a) initial conditions of z=[ 0 0 0] and an input of 5, b) initial condition Consider the following system: Solve the system using the convolution equation given a) initial conditions of z=[ 0 0 0] and an input of 5, b) initial condition](/WebImages/43/consider-the-following-system-solve-the-system-using-the-con-1135743-1761607839-0.webp)