Forced step response of a signal

조회 수: 23 (최근 30일)
Donovan Angela
Donovan Angela 2018년 11월 6일
댓글: Donovan Angela 2018년 11월 7일
I'm pretty new to matlab and I'm having a hard time understanding how the signals &systems part works. All I have to do is find the step response of a system, both a "normal" response and a "forced " response, while having initial conditions. I searched this forum and I couldn't really find something similar. Maybe because it's an easy one but I don't know.
I tried using 'step' but I didn't know how to use the initial conditions with it. Also, I found out 'initial' and I tried using it but it didn't really work out either.

채택된 답변

Aquatris
Aquatris 2018년 11월 7일
I recommend you look into lsim() function, which is a lot more flexible than the step() or impulse() functions, and would be useful for the future as well.
  댓글 수: 1
Donovan Angela
Donovan Angela 2018년 11월 7일
Thank you, got it right finally (with lsim)

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

추가 답변 (1개)

M
M 2018년 11월 7일
You can set the initial values of the step using stepDataOptions: https://mathworks.com/help/control/ref/stepdataoptions.html
What was the problem with initial ?

카테고리

Help CenterFile Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by