How to measure the steady state amplitude of a control system output
Ältere Kommentare anzeigen
Dear Matlab Answers,
Hello. I have included below an image concerning my problem

Here I have a sinusoidal weaveform that has an initial transient then settles to a steady state amplitude. It looks odd ebcause the plot is so dense, but the data is all sinsoidal with a transient offset. The data is represented as an array of time points and an array of ampltiude points. (tout and Y). How can I write an algorithm to detect when the transient is complete and return the final steady state amplitude? Technically, this is not only a MATLAB question, but a solution written in MATLAB code is preffered.
5 Kommentare
Pat Gipper
am 7 Mär. 2021
Is this the response of your model to a sinusoidal input?
Michael Sohnen
am 7 Mär. 2021
Paul
am 8 Mär. 2021
Does this question only concern LTI systems with a single sinusoidal input?
If so, do you know a priori the frequency of the input or is that something that the algorithm has to determine?
Pat Gipper
am 8 Mär. 2021
The frequency of the injected signal is under control of the app. If that is not the case then you would need to use some form of a spectrum analyzer.
Michael Sohnen
am 9 Mär. 2021
Akzeptierte Antwort
Weitere Antworten (1)
Pat Gipper
am 8 Mär. 2021
0 Stimmen
Try using this app. It injects a sine wave and measures the gain and phase after a number of cycles that you specify.
https://www.mathworks.com/matlabcentral/fileexchange/85448-frequency-response-analyzer
1 Kommentar
Michael Sohnen
am 8 Mär. 2021
Kategorien
Mehr zu Time and Frequency Domain Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!