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

1 view (last 30 days)
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.

Accepted Answer

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)

More Answers (0)

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!