Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello, Can you please help me with question 1, the code below maybe useful. t=-3:0.1:3; x=t.*exp(-t); x_refl = (-t) .* exp( t); x_ev =1/2*( x+x_refl);
Hello, Can you please help me with question 1, the code below maybe 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 odd part as well as summation of even and odd part of signal. Use subplot 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started