Question

Zero-state response of a system can be found by using convolution of the input signal and unit impulse response: Use conv com

I need help with this MATLAB exercise.

The given system is y[n] - (3/10)y[n-1] - (1/10)y[n-2] = 2x[n]

The input x[n] is 2cos(2*pi*n/6)(u[n] - u[n-10])

Don't have to answer part 2 of the question.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

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!

********** Matlab code for plotting the convolution *********


b = 2;              %filter coefficients
a = [1 -0.3 -0.1];
[h,n] = impz(b,a); % impulse response
x = 2*cos(2*pi*n/6).*double(n<10);
y = conv(h,x);      % convolution
stem(y);
grid;
xlabel('N');
ylabel('Y');
title('Output by convolution');

************** End of file ************

Output:

Output by convolution

The systemk is asymptotically stable since the impulse response, as well as the convoluted response both are damped responses.

***********************************************************

PS: Please do not forget the thumbs up!!

Add a comment
Know the answer?
Add Answer to:
I need help with this MATLAB exercise. The given system is y[n] - (3/10)y[n-1] - (1/10)y[n-2]...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT