Hello,
Please find the answer
attached below. If the answer has helped you please give a
thumbs up rating. Thank you and have a nice
day!
The following matlab code will plot y for the complete range and print the values of y from n=0 till 9
******** Matlab Code ********
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% output simulations
n1 =
0:9;
% time vector
x1 =
(0.7.^n1).*cos(0.25*pi*n1);
% signal x
n = [-3 -2 -1 n1];
x = [0 0 0
x1];
% signal x starting from time n=-3
y1 = zeros(1,length(x1));
y = [1 0 0 y1];
for count =
4:length(y)
% start counter from y(0)
y(count) = -0.8*y(count-1) + 0.2*y(count-2) +
0.1*y(count-3) + 1.2*x(count) + 0.2*x(count-1);
end
stem(n,y);
xlabel('n');
ylabel('y');
clc
y(4:end)
**** End of Code ******
Output:
vlues of y(0) till y(9) : 1.3000 -0.2460 0.5558 -0.6549 0.2739 -0.4851 0.3536 -0.2826 0.3291 -0.2387
Using matlab Experiment 1 - Marking 1. Section 2.2(a) Given x[n] = (0.7)"cos(0.25m) u[n] Mn] =-0.8y[n-l]...
(24%) Find the Fourier transform of the signals given below: 1) x() 4e U() x(t) = e-3,Cos(12m)U(t) 2) x(t) = 36(1 + 4) + 26(1) + 43(1-5) 3) x[n]=(0.7)"U(n) 4) (24%) Find the Fourier transform of the signals given below: 1) x() 4e U() x(t) = e-3,Cos(12m)U(t) 2) x(t) = 36(1 + 4) + 26(1) + 43(1-5) 3) x[n]=(0.7)"U(n) 4)
using matlab to solve this problem as soon as possible thanks use matlab to slove the problem as soon as possible solve the activity of number 1&2&3 by using matlab for this problem i need from you to solve activity one and two and three by using matlab DIRECTIONS: Perform the following using MATLAB. After the simulation, your report must be uploaded in the Moodle Learning system. ACTIVITY I. VECTORS AND ITS OPERATIONS Procedure 1: Define two vectors a and...
Verify the following using MATLAB 2) (a) Consider the following function f(t)=e"" sinwt u (t (1) .... Write the formula for Laplace transform. L[f)]=F(6) F(6))e"d Where f(t is the function in time domain. F(s) is the function in frequency domain Apply Laplace transform to equation 1. Le sin cot u()]F(s) Consider, f() sin wtu(t). From the frequency shifting theorem, L(e"f()F(s+a) (2) Apply Laplace transform to f(t). F,(s)sin ot u (t)e" "dt Define the step function, u(t u(t)= 1 fort >0...
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)...
츨…<L. t-o(see (1) in Section i2 4) s bject to the given conditions. Solve the wave equation, .a a r u(0, t)=0, u(T, t)=0, t> 0 ux, o) 0.01 sin(5tx), 0u t=0 u(x, t) = n=1 Need Help? LRead it . Talk to a Tutor l 츨… 0 ux, o) 0.01 sin(5tx), 0u t=0 u(x, t) = n=1 Need Help? LRead it . Talk to a Tutor l
Styles Paragraph 6. Given the difference equation y(n)-x(n-1)-0.75y(n-1)-0.125(n-2) a. Use MATLAB function filterl) and filticl) to calculate the system response y(n)for n 0, 1, 2, 3, 4 with the input of x(n (0.5) u(n)and initial conditions x(-1)--1, y(-2) -2, and y(-1)-1 b. Use MATLAB function filter!) to calculate the system response y(n) for n-0, 1, 2, 3,4 with the input of x(n) (0.5)"u(n)and zero initial conditions x(-1)-0, (-2)-0, and y(-1)-0 Design a 5-tap FIR low pass filter with a cutoff...
Solve f, g, l, m x{n - 1] = 1.30. Determine if each of the following systems is invertible. If it is, construct the inverse system. If it is not, find two input signals to the system that have the same output. (a) y(t) = x(t - 4) (b) y(t) = cos(x(t)] (c) y[n] = nx[n] (d) y(t) = x(t)dt ( x[n - 1], n>1 (e) y[n] = {0, n = 0 (f) y[n] = x[n]x[n – 1] ( x[n],...
(1 point) Solve the wave equation with fixed endpoints and the given initial displacement and velocity. a2 ,0<x<L, t > 0 a(0. t) = 0, u(L, t) = 0, t > 0 Ou Ot ηπα t) + B,, sin (m Now we can solve the PDE using the series solution u(r,t)-> An C computed many times: An example: t) ) sin (-1 ). The coefficients .An and i, are Fourier coefficients we have , cos n-1 sin(n pix/ L) dr...
find and draw 437EE-3 Deadline: 16/6/2019 11:59PM HW 1 -4 sns4 is given; A signal x[n] 2 5 cos(n)5 sin(0.57n) Find and draw 1x[n 2. x[nJu[n 2] 3. x[n]. 8[n 21 4. -x[n2] 5. x[n(u[n-]-u[n-3]) 6. x[n+2] n+1 7. y[n] = 2k=n-1X[K] 8. x[n]8[-n-4 9 -x-n 2 10. x2n/2] 437EE-3 Deadline: 16/6/2019 11:59PM HW 1 -4 sns4 is given; A signal x[n] 2 5 cos(n)5 sin(0.57n) Find and draw 1x[n 2. x[nJu[n 2] 3. x[n]. 8[n 21 4. -x[n2] 5....