Y(n)=5x(n-5)-3x(n 4)

4 views (last 30 days)
Prasanth Kanna
Prasanth Kanna on 22 Jul 2018
Commented: Walter Roberson on 15 Oct 2021
X(n)={1 2 3 4 5 6 7 6 5 4 3 2 1}
  5 Comments
Prasanth Kanna
Prasanth Kanna on 22 Jul 2018
Write matlab code to execute
Walter Roberson
Walter Roberson on 22 Jul 2018
Write MATLAB code to execute what ? Is this a question about filter()? A question about conv()? A question about IIR systems? A question about finding recurrence formulas ?

Sign in to comment.

Answers (2)

Basil C.
Basil C. on 22 Jul 2018
I guess this is probably what you are looking for
syms x n
x(n)={1,2,3,4,5,6,7,6,5,4,3,2,1}
x1(n)=5*x(n-5)-3*x(n+4)
x2(n)=x(3-n)+x(n).*x(n-2)

husam jawad
husam jawad on 14 Oct 2021
x(n)={1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1}. Determine and plot the followingsequences.
a. x1(n)=2x(n − 5) − 3x(n +4)
  1 Comment
Walter Roberson
Walter Roberson on 15 Oct 2021
I don't think that is an Answer to what the original poster asked?
It is not clear what the index of the first element is.
It isn't clear what the outcome would be if n-5 is less than the first index.
It isn't clear what the outcome would be if n+4 is greater than the last index.
Is this a question about filter()? A question about conv()? A question about IIR systems? A question about finding recurrence formulas ?

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!