how to have step time in specific time

26 views (last 30 days)
arash rad
arash rad on 5 Feb 2022
Answered: Star Strider on 5 Feb 2022
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)

Star Strider
Star Strider on 5 Feb 2022
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 Line Plots 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!