フィルターのクリア

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 Center および File ExchangeMeasurements and Feature Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by