Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(35 pts] Given: You have the following difference equation: y[m] -0.8y(n 2] +0.1024y[1 4) = x[n] The initial conditions are yl-1) = 1 yl-2) =
(35 pts] Given: You have the following difference equation: y[m] -0.8y(n 2] +0.1024y[1 4) = x[n] The initial conditions are yl-1) = 1 yl-2) = 0.75 yl-3) = 0.5 yl-4) = 0.25 Your input function is x[n] = (1.1)" Find: First, manually solve for the closed-form solution by hand. Note you can (and should) make use of Matlab's roots command. Next, write a Matlab program to recursively solve for yim). Compare the closed-form solution to the recursive solution for 0 SI 520 by plotting in Matlab. For subplot(3,1,1), plot the manuallly derived solution. For subplot(3,1,2), plot the recursive solution. For subplot(3,1,3), plot the magnitude of the difference between the two solutions (values should be very small-on the order of 10-5 or even smaller depending on how much rounding you do. (35 pts] Given: You have the following difference equation: y[m] -0.8y(n 2] +0.1024y[1 4) = x[n] The initial conditions are yl-1) = 1 yl-2) = 0.75 yl-3) = 0.5 yl-4) = 0.25 Your input function is x[n] = (1.1)" Find: First, manually solve for the closed-form solution by hand. Note you can (and should) make use of Matlab's roots command. Next, write a Matlab program to recursively solve for yim). Compare the closed-form solution to the recursive solution for 0 SI 520 by plotting in Matlab. For subplot(3,1,1), plot the manuallly derived solution. For subplot(3,1,2), plot the recursive solution. For subplot(3,1,3), plot the magnitude of the difference between the two solutions (values should be very small-on the order of 10-5 or even smaller depending on how much rounding you do
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