I need to get peak value and time from a signal and use it in Simulink?

7 views (last 30 days)
I am working in Simulink environment. What i want is to get peak values and times considering an oscillatory response of a system output. 1st peak, 2nd peak etc. I know to use 'stepinfo' feature in MATLAB but i need to stay in Simulink. For example, I should get peak value and time and change my controller parameters (like online tuning) and behavior regarding those obtentions. Any idea?
Thanks.

Answers (1)

Mehmet Kivanc Çelik
Mehmet Kivanc Çelik on 12 Dec 2013
any suggestions?

Community Treasure Hunt

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

Start Hunting!