필터 지우기
필터 지우기

Am I finding the Step and Impulse Response Correctly?

조회 수: 3 (최근 30일)
ha9981
ha9981 2012년 10월 31일
Given the function: dy(t)/dt + 3y(t) = x(t)
step([1],[1,3],t);
impulse([1],[1,3],x,t);

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2012년 10월 31일
편집: Azzi Abdelmalek 2012년 10월 31일
t=0:0.1:10
step([1],[1,3],t);
%or
y=step([1],[1,3],t);
plot(y)
%and
impulse([1],[1,3],t);
%or
y=impulse([1],[1,3],t);
plot(y)
%or
N=1;
D=[1 3];
model=tf(N,D)
step(model)
figure
impulse(model)
%if x(t) is any input signal use
t=0:0.1:10;
x=exp(-t)
lsim(model,x,t)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Measurements and Feature Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by