Please solve all. Thank you
Let Let x(n) = {2, 4, −3, 1, −5, 4, 7}. ↑ (arrow points to 1) Generate and plot the samples (use the stem function) of the following sequences. x(n) = 2 e 0.5 nx(n) + cos(0.1πn) x(n + 2), − 10 ≤ n ≤ 10
use these functions when solving please
1-
function [y,n] = sigshift(x,m,n0)
% implements y(n) = x(n-n0)
% -------------------------
% [y,n] = sigshift(x,m,n0)
%
n = m+n0; y = x;
2-
function [y,n] = sigmult(x1,n1,x2,n2)
% implements y(n) = x1(n)*x2(n)
% -----------------------------
% [y,n] = sigmult(x1,n1,x2,n2)
% y = product sequence over n, which includes n1 and n2
% x1 = first sequence over n1
% x2 = second sequence over n2 (n2 can be different from n1)
%
n = min(min(n1),min(n2)):max(max(n1),max(n2)); % duration of
y(n)
y1 = zeros(1,length(n)); y2 = y1; %
y1(find((n>=min(n1))&(n<=max(n1))==1))=x1; % x1 with
duration of y
y2(find((n>=min(n2))&(n<=max(n2))==1))=x2; % x2 with
duration of y
y = y1 .* y2; % sequence multiplication
Please solve all. Thank you Let Let x(n) = {2, 4, −3, 1, −5, 4, 7}....
Please answer all the questions Here is evenodd function: function [xe, xo, m] = evenodd(x,n) % Real signal decomposition into even and odd parts % ------------------------------------------------- % [xe, xo, m] = evenodd(x,n) % if any(imag(x) ~= 0) error('x is not a real sequence') end m = -fliplr(n); m1 = min([m,n]); m2 = max([m,n]); m = m1:m2; nm = n(1)-m(1); n1 = 1:length(n); x1 = zeros(1,length(m)); x1(n1+nm) = x; x = x1; xe = 0.5*(x + fliplr(x)); xo = 0.5*(x -...
Unif (0, 1) 5. Suppose U1 and U2 i= 1,2. Let X; = - log(1 - U;), i = 1,2. [0, 1], U are independent uniform random variables on (a) Show that X1 and X2 are independent exponential random variables with mean 1, X; ~ Еxp(1), і — 1,2. (b) Find the joint density function of Y1 = X1 + X2 and Y2 = X1/X2 and show that Y1 and Y2 are independent. Unif (0, 1) 5. Suppose U1 and...
2. Let Z1 and Zo be independent standard normal random variables. Let! X= 221 +372 +12 X2 = 321 - 22 +11. (a) Find the joint density function of (X1, X2). (b) Find the covariance of X1 and X2. Now let Y1 = X1 + 4X2 +3 Y, = -2X2 +6X2 +5 (a) Find the joint density function of (Y1, Y). (b) Find the covariance of Yi and Y2.
= = 3, Cov(X1, X2) = 2, Cov(X2, X3) = -2, Let Var(X1) = Var(X3) = 2, Var(X2) Cov(X1, X3) = -1. i) Suppose Y1 = X1 - X2. Find Var(Y1). ii) Suppose Y2 = X1 – 2X2 – X3. Find Var(Y2) and Cov(Yı, Y2). Assuming that (X1, X2, X3) are multivariate normal, with mean 0 and covariances as specified above, find the joint density function fxı,Y,(y1, y2). iii) Suppose Y3 = X1 + X2 + X3. Compute the covariance...
=n. 1: (a) Let n = 2020. List all of the pairs (x, y) E Z2 such that x2 - y2 (b) Let n = (39). Find the number of pairs (x,y) e Zé such that x2 + y2 = n2. (c) Write 650 as a product of irreducible elements in Z[i], then list all of the pairs (x, y) e Z2 with 0 < x <y such that x2 + y2 = 650.
Let X1, X2, X3 … be independent random variable with P(Xi = 1) = p = 1-P(Xi=0), i ≥ 1. Define: N1 = min {n: X1+…+ Xn =5}, N2 = 3 if X1 = 0, 5 if X1 = 1. N3 = 3 if X4 = 0, 2 if X4 = 1. Which of the Ni are stopping times for the sequence X1, …?
(2) Given two independent variables X1 and X2 having Bernoulli distribution with parameter p=1/3, let Y1 = 2X1 and Y2 = 2X2. Then A E[Y1 · Y2] = 2/9 BE[Y1 · Y2] = 4/9 C P[Y1 · Y2 = 0) = 1/9 D P[Y1 · Y2 = 0) = 2/9 (3) Let X and Y be two independent random variables having gaussian (normal) distribution with mean 0 and variance equal 2. Then: A P[X +Y > 2] > 0.5 B...
Question 17 (2 points) Let A be a 3 x 4 matrix with a column space of dimension 2. What is the dimension of the row space of A? Not enough information has been given. O 1/2 3 2. Question 16 (2 points) The rank of the matrix 1 2 - 1 2 4 2 1 2 3 is 02 O none of the given options Question 15 (2 points) Which of the following is not a vector space because...
Let Y1, Y2, and Y3 be independent, N(0, 1)-distributed random variables, and set X1 = Y1 − Y3, X2 = 2Y1 + Y2 − 2Y3, X3 = −2Y1 + 3Y3.Determine the conditional distribution of X2 given that X1 + X3 = x.
(5) Recall that X ~Uniform(10, 1,2,... ,n - 1)) if if k E (0, 1,2,... ,n -1, P(x k)0 otherwise (a) Determine the MGF of such a random variable. (b) Let X1, X2, X3 be independent random variables with X1 Uniform(10,1)) X2 ~Uniform(f0, 1,2]) Xs~ Uniform(10, 1,2,3,4]). X3 ~ U x2 ~ Uniform(10, 1,2)) 13Uniform Find the laws of both Y1 X1 +2X2 +6X3 and Y2 15X1 +5X2 + X3. (c) What is the correlation coefficient of Yi and ½?...