MATLAB Answers

How can I apply step signal input to a system after 20secs of delay?

조회 수: 3(최근 30일)
Khashayar Asadi
Khashayar Asadi 2021년 9월 10일
편집: Paul 2021년 9월 10일
Hello guys,
I defines a step input signal with this command:
>> opt = stepDataOptions('InputOffset',25,'StepAmplitude',5);
now how can I apply this signal to system after 20secs of dealy to plot it?
to clarify the input signal value is 25 until t=20 sec and after that it increases to 30.

답변(1개)

Paul
Paul 2021년 9월 10일
편집: Paul 2021년 9월 10일
Set the InputDelay property of the system to 20. If h is the system
h.InputDelay = 20;
step(h,opt)

Community Treasure Hunt

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

Start Hunting!

Translated by