how to have step time in specific time

Hi I want to plot something like the picture below but i do not know how to change step time sth like this
i want my plot start from 800s and step time is something like below
please help me
thank you very much

Answers (1)

Use the lsimplot function.
There is a specific example in Custom Plot of System Evolution from Initial Condition. It describes in detail exactly how to do what you want.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 5 Feb 2022

Answered:

on 5 Feb 2022

Community Treasure Hunt

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

Start Hunting!