MATLAB Answers

can anyone solve this? i am getting errors

1 view (last 30 days)
AAYUSH MARU
AAYUSH MARU on 6 Apr 2020
this is my system: y[n] = x[n] - x[n-1] + x[n-2]
can anyone help me find its transfer function and impulse response.

  2 Comments

Sriram Tadavarty
Sriram Tadavarty on 6 Apr 2020
Can you show us the code that you have tried and got errored? So that the help would be straight forward and up to the point
AAYUSH MARU
AAYUSH MARU on 6 Apr 2020
clc;
clear all;
close all;
num=[1.0 -1.0 1.0];
den=[1.0];
y=impz(num,den);
stem(y);

Sign in to comment.

Answers (1)

Urmila Rajpurohith
Urmila Rajpurohith on 9 Apr 2020
As you are trying to find transfer function from difference equation; you can refer to the below link which answers a similar question

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!