Please feel free to ask doubts in the comment
sectio.
Since this not feasible for solving with hands beause finding
(0.8)^20 by hand is not a good idea so I guess you wanted the
solutions using MATLAB but if you wanted handwritten solutions just
tell me in comments and I will upload hand written solutions
too.
1.
close all;
clear;
clc;
y = 0;
k = 0:25;
x = (0.8).^k;
for n=2:25
y(n) = y(n-1) + x(n) +x(n-1);
end
stem(0:20,x(1:21));
xlabel("n");
hold on
stem(0:20,y(1:21));
title("Plot for input and output");
legend("x(n)","y(n)");
2.
close all;
clear;
clc;
syms z n x(n) y(n) X Y;
eqn = y(n) + 2.5*y(n-1)+y(n-2) == x(n) + x(n-1);
eqn_z = ztrans(eqn);
eqn_z = subs(eqn_z,[ztrans(y(n), n, z) ztrans(x(n), n, z)],[X
Y]);
eqn_z = subs(eqn_z,[y(-1) y(-2) x(-1)],[0 0 0]);
Y = solve(eqn_z,Y);
H = simplify(Y/X);
disp("The Transfer function in z domain = ");
pretty(H)
assume(n>0);
x(n) = (0.8)^n;
Xx = ztrans(x);
Y = subs(Y,X,Xx);
yn = iztrans(Y);
n_range = 0:20;
stem(n_range,subs(x,n,n_range));
xlabel("n");
hold on;
stem(n_range,subs(yn,n,n_range));
title("Plot for input and output");
legend("x(n)","y(n)");
Plot for input and output - yon) 8 P 12
The Transfer function in z domain = 2 2 2 + 5z + 2 22 (z + 1)
Practical 2: • A. Solve the following difference equations using the sequential method: y[k] – y[k...
Solve using MAT-LAB codes: A. Solve the following difference equations using the sequential method: ylk] +1.5y[k-1]+0.5y[k-2] x[k]+ x[k-1] where 0.8 uk] and and y[-2] = y[ - 1] 0 xk] B. Plot the results for the range 0 s ks 20. Solve using MAT-LAB codes: A. Solve the following difference equations using the sequential method: ylk] +1.5y[k-1]+0.5y[k-2] x[k]+ x[k-1] where 0.8 uk] and and y[-2] = y[ - 1] 0 xk] B. Plot the results for the range 0 s...
What is difference between differential equation and difference equation? Solve following difference equation using Z-transform method? Draw final block diagram? x(k+2) +3x(k-1)+ 2x(k)=u(k)
4. Solve the following system of linear equations using the inverse matrix method. 1 y = 1 2 , 3 2 -r- 1 5 4 a) x+y +z= 6 x-y-3z=-8 x+y- 2z=-6 b) Solve the following system of linear equations using Cramer's Rule. 5. 2 1 -X- 3 2 1 3 X+-y-1 5 4 y = 1 a) x+y+z= 6 x-y-3z=-8 x+y- 2z = -6 b) 4. Solve the following system of linear equations using the inverse matrix method. 1...
1. Solve the system of equations using Laplace Transform(LT): With IV: x(0) 4 With IV :y (0)-5 a. Apply Laplace transform (LT) to the system and solve, by using elimination method, for x(s), and y(s). b. Apply inverse-Laplace transform (L:'T) to the system of s-functions, then solve for x(t), and y(t) 1. Solve the system of equations using Laplace Transform(LT): With IV: x(0) 4 With IV :y (0)-5 a. Apply Laplace transform (LT) to the system and solve, by using...
4. (20 points) Use z-transform to solve the difference equation y(k) -1.5y(k-1) + 0.56y(k-2) = x(k) for k> 0 with initial conditions y(-1) = 3, y(-2)=-4, and x(k)= kļu(k).
20: Solve the system of equations using substitution method. 2x+5y=26 X+ y= 10 21: Solve the following equation. x-x1/2-6= 0 22: Solve the following system of equations, using elimination method. 2x+3y = 5 5x- y = 4 23: Solve the system of nonlinear equations. Any Method. Y?=x2-9 2y= x-3 24: Convert the log into exponent form. Ln (3x-5)2= 16 25: f(x)= 1/x in words explain the transformation of the following functions. a. g(x) = 1/ (x-3) +5 b. h(x)= -1/(x+2)...
Solve the following system of equations for z and for y: Value of Value of y System of Equations: y = 9+ 3z y = 58 – 42 Solve the following system of equations for a and for b: Value of a value of b System of Equations: 4a + 2b = 20 15a + 5b = 60 Plot the following system of equations on the following graph. System of Equations: p = 6 - 29 p = 4+2 Note:...
(II) USING THE LAPLACE TRANSFORM TO SOLVE DIFFERENTIAL EQUATIONS PROBLEM 1: (A practical example with repeated poles) A car of mass M and friction coefficient Kris stopped at a red traffic light (initial position and initial speed are zero). At 1-0, when the light turns green, a unit-step input force u(t) is applied to the car. In this problem, we are interested in the car position(0); not the car speed. (30 points) Find the car transfer function Y(s)y U(s). Find...
k Solve the differential equations using the method of Variation of Parameters: 2y' - y - y=tet UTICA
Use the Gauss Jordan method to solve the system of equations. y=-9+x y=-1+z z=2-x Select the correct choice below and fill in any answer boxes within your choice. O A. There is one solution. The solution is in the order x, y, z. (Type an exact answer in simplified form.) O B. There are infinitely many solutions. The solution is ( 2) where z is any real number (Type an exact answer in simplified form.) O C. There is no...