can anyone solve this? i am getting errors

조회 수: 1 (최근 30일)
AAYUSH MARU
AAYUSH MARU 2020년 4월 6일
답변: Urmila Rajpurohith 2020년 4월 9일
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
Sriram Tadavarty
Sriram Tadavarty 2020년 4월 6일
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 2020년 4월 6일
clc;
clear all;
close all;
num=[1.0 -1.0 1.0];
den=[1.0];
y=impz(num,den);
stem(y);

댓글을 달려면 로그인하십시오.

답변 (1개)

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

Community Treasure Hunt

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

Start Hunting!

Translated by