필터 지우기
필터 지우기

y[n] = x[n] - x[n-1] x[n-2] I need to find a) Find the transfer function. b) Give the impulse response. d) Sketch the frequency respo

조회 수: 7 (최근 30일)
I need to find a) Find the transfer function. b) Give the impulse response. d) Sketch the frequency response. How to do it?
[n] = x[n] - x[n-1] + x[n-2]
  댓글 수: 4
Steven Lord
Steven Lord 2020년 4월 6일
Okay. What is your specific question about where you're having difficulty?

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

답변 (1개)

Birdman
Birdman 2020년 4월 7일
Try this:
z=tf('z',0.001);
Gz=1-z^-1+z^-2;
%%transfer function
Gs=d2c(Gz,'tustin')
%%impulse response
figure(1);
impulse(Gs)
%%frequency response
figure(2);
bode(Gs)
  댓글 수: 5
Birdman
Birdman 2020년 4월 7일
Do you have Control System Toolbox installed? Type
ver
in command line and paste the output here.
Rhea Shah
Rhea Shah 2020년 4월 9일
Hey thank you so much. I got the impulse and frequency response output. But i am not getting transfer function output as I don't have the tool box installed. I have the 2019a version. Is there some another approach to it?

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

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by