3. Realize the system which generates the output
MATLAB code is given below in bold letters.
clc;
close all;
clear all;
% Define w as follows
w = [0 pi/6 3*pi/2 1.9*pi/2];
n = 0:10;
for k = 1:length(w)
y1_x1 = 1/2*(sin(w(k)*n)+sin(w(k)*(-n)));
y2_x1 = 1/2*(sin(w(k)*n)-sin(w(k)*(-n)));
disp('For w = ')
disp(w(k))
disp('For input x1(n), y1(n) = '),y1_x1
disp('For input x1(n), y2(n) = '),y2_x1
y1_x2 = 1/2*(cos(w(k)*n)+cos(w(k)*(-n)));
y2_x2 = 1/2*(cos(w(k)*n)-cos(w(k)*(-n)));
disp('For w = ')
disp(w(k))
disp('For input x2(n), y1(n) = ');y1_x2
disp('For input x2(n), y2(n) = '),y2_x2
end
RESULTS:
For w =
0
For input x1(n), y1(n) =
y1_x1 =
0 0 0 0 0 0 0 0 0 0 0
For input x1(n), y2(n) =
y2_x1 =
0 0 0 0 0 0 0 0 0 0 0
For w =
0
For input x2(n), y1(n) =
y1_x2 =
1 1 1 1 1 1 1 1 1 1 1
For input x2(n), y2(n) =
y2_x2 =
0 0 0 0 0 0 0 0 0 0 0
For w =
0.5236
For input x1(n), y1(n) =
y1_x1 =
0 0 0 0 0 0 0 0 0 0 0
For input x1(n), y2(n) =
y2_x1 =
Columns 1 through 8
0 0.5000 0.8660 1.0000 0.8660 0.5000 0.0000 -0.5000
Columns 9 through 11
-0.8660 -1.0000 -0.8660
For w =
0.5236
For input x2(n), y1(n) =
y1_x2 =
Columns 1 through 8
1.0000 0.8660 0.5000 0.0000 -0.5000 -0.8660 -1.0000 -0.8660
Columns 9 through 11
-0.5000 -0.0000 0.5000
For input x2(n), y2(n) =
y2_x2 =
0 0 0 0 0 0 0 0 0 0 0
For w =
4.7124
For input x1(n), y1(n) =
y1_x1 =
0 0 0 0 0 0 0 0 0 0 0
For input x1(n), y2(n) =
y2_x1 =
Columns 1 through 8
0 -1.0000 0.0000 1.0000 -0.0000 -1.0000 0.0000 1.0000
Columns 9 through 11
-0.0000 -1.0000 0.0000
For w =
4.7124
For input x2(n), y1(n) =
y1_x2 =
Columns 1 through 8
1.0000 -0.0000 -1.0000 0.0000 1.0000 -0.0000 -1.0000 -0.0000
Columns 9 through 11
1.0000 -0.0000 -1.0000
For input x2(n), y2(n) =
y2_x2 =
0 0 0 0 0 0 0 0 0 0 0
For w =
2.9845
For input x1(n), y1(n) =
y1_x1 =
0 0 0 0 0 0 0 0 0 0 0
For input x1(n), y2(n) =
y2_x1 =
Columns 1 through 8
0 0.1564 -0.3090 0.4540 -0.5878 0.7071 -0.8090 0.8910
Columns 9 through 11
-0.9511 0.9877 -1.0000
For w =
2.9845
For input x2(n), y1(n) =
y1_x2 =
Columns 1 through 8
1.0000 -0.9877 0.9511 -0.8910 0.8090 -0.7071 0.5878 -0.4540
Columns 9 through 11
0.3090 -0.1564 -0.0000
For input x2(n), y2(n) =
y2_x2 =
0 0 0 0 0 0 0 0 0 0 0
From the above results, it is observed that the odd signal x1[n] has resulted in zero response when passed through filter 1 Likewise, the even signal x2[n] has resulted in zero response when passed through filter 2.
It is observed that the filters 1 and 2 are odd and even parts of a signal.
Realize the system which generates the output y1(n)-1/2 [x(n)+x(-n)] and y2(n)-1/2 [x(n)-x(-n)] using matlab. By generating signals xl(n)-sin(on) and x2(n)-cos(on) for various values of o-[0,/6, ,3Tt/2, 1.9T/2) obtain 3. a) Output yl(n) and y2(n) b) Critically analyze the system outputs y 1 (n) and y2(n) and find out the type of filter obtained. Realize the system which generates the output y1(n)-1/2 [x(n)+x(-n)] and y2(n)-1/2 [x(n)-x(-n)] using matlab. By generating signals xl(n)-sin(on) and x2(n)-cos(on) for various values of o-[0,/6, ,3Tt/2, 1.9T/2)...
4. (5 pts) Consider a discrete-time LTI system T that generates an output y[n] according to a2 y[n] bx[n] – ay[n – 1] - *[n – 2] where a, b are non-negative real constants. (a) (2 pts) Find the poles of the z-transform of the impulse response h[n] of T. (b) (3 pts) Let H(ejl be the frequency response of T. Find a, b so that the system is causal and stable, |H(1)| = |H(ejº)] = 0.04, and |H(-1)] =...
Please provide detailed steps. Thank You!! Problem 2: 3. Realize the system from problem 2 using Direct Form II. + H(s) = s® + s2 +6s10 + 10 3. Realize the system from problem 2 using Direct Form II. + H(s) = s® + s2 +6s10 + 10
3 +3 Consider the following TF G(s) - 13 l. Realize a state space(s)formulation using MATLAB. Then use Forward EueriFE) to compute the discrete SS for the system, choose Ts 0.1 Then find the TF of the discrete SS system description. Use FE directly on G(s) to arrive at a discrete TF, G(z). Realize the discrete TF in SS Are the two discrete TF from part 1 and 2 the same? What about the ss formulations? Comment on your observations....
Design a circuit that reads as inputs continuous bits, and generates an output of ‘1’ if the sequence (0011) is detected using JK Flip Flop
design a combinational circuit using suitable decoder that accepts 3 bit binary number generates an output binary number equal to square of input number.
Realize Y= A`BC`+A`BC+A`B`C+ ABC` with a multiplexer Construct the truth table What is the size of the most economical Multiplexer? Draw the input output connections to realize the function Y using the multiplexer Draw the input output connections to realize Y using 3 most economical Multiplexers.
7.10 (4 marks) Find a minimum two-level, multiple-output AND-OR gate circuit to realize these functions. fi(a, b, c, d) = m(3, 4, 6, 9, 11) f(a, b, c, d) = 2 m(2, 4, 8, 10, 11, 12) f(a,b,c,d) = m(3, 6, 7, 10, 11) (11 gates minimum)
Asume that the expected ınflatıon rate is constant. A positive or negative output generates inflation. When expectations are anchored. what' s the policy of Central Bank and goverment. Please explain with IS-LM-PC model
Design a four-bit combinational circuit 2’s complementer. (The output generates the 2’s complement of the input binary number.) Show that the circuit can be constructed with exclusive-OR gates. Can you predict what the output functions are for a five-bit 2’s complementer? 1. Truth table 2. Logic circuit with exclusive-OR gates 3.The output functions for a five-bit 2’s complementer