Hello, Can you please help me with question 1, the code belowmaybe useful.
t=-3:0.1:3;
x=t.*exp(-t);
x_refl = (-t) .* exp( t);
x_ev =1/2*( x+x_refl);
x_od = 1/2*(x-x_refl);
even_odd_plot(x,x_ev,x_od,t)
Question 1: consider exponential signal x[n] =2 ?(?)?^n , write codes to define signal x[n] and its even and oddpart as well as summation of even and odd part of signal. Usesubplot and plot x[n], Ev(x[n]), Od(x[n]) and Ev[x[n]+Od(x[n]).Where ?=1.5 and discrete time vector is defined (with step 1) from-10 to 10.
Expert Answer
An answer will be send to you shortly. . . . .