Define the settling time t(s) in MATLAB

2 views (last 30 days)
Jonathan Diaz
Jonathan Diaz on 25 Sep 2018
Edited: Fangjun Jiang on 25 Sep 2018
So I'm trying to figure out how to define the settling time in matlab. I want t(s) to be the minimum time after which both the magnitudes of x1(t) and x2(t) remain less than 0.01. How would I input that in matlab?

Answers (1)

Fangjun Jiang
Fangjun Jiang on 25 Sep 2018
Edited: Fangjun Jiang on 25 Sep 2018
here is a clue,
find(and(abs(x1)>=0.01, abs(x2)>=0.01),'last')

Community Treasure Hunt

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

Start Hunting!