필터 지우기
필터 지우기

impulse response of a LTI system in Matlab

조회 수: 6 (최근 30일)
JjjO
JjjO 2021년 4월 12일
답변: Swetha Polemoni 2021년 4월 15일
Hi I've been learning Matlab for a month and I have no idea how to solve them.
My code works, but the result isn't what I expected.
a=[1,1,1];
b=[0,0,1,-1,1,-1];
x=impseq(0,0,6); n=[0:6];
h=filter(b,a,x);
stem(n,h,'r','LineWidth', 2);
I don't know which part I should fix... please help me.
  댓글 수: 2
Jithin Nambiar J
Jithin Nambiar J 2021년 4월 12일
Can you please explain what the question actually is? Do you want to find out the convolution of the sequences?
JjjO
JjjO 2021년 4월 12일
Yes I want to find out the convolution.

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

채택된 답변

Swetha Polemoni
Swetha Polemoni 2021년 4월 15일
Hi
You can use "conv" to find convolution.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Identification에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by