MATLAB Answers

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

3 views (last 30 days)
Khashayar Asadi
Khashayar Asadi on 10 Sep 2021
Edited: Paul on 10 Sep 2021
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.

Answers (1)

Paul
Paul on 10 Sep 2021
Edited: Paul on 10 Sep 2021
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!