Finding a transfer function from time series data in simulink

15 vues (au cours des 30 derniers jours)
Zara Freeman
Zara Freeman le 24 Oct 2021
Commenté : Mathieu NOE le 16 Mai 2024
How do you write a code to obtain a transfer function from a graph of time series data that is produced through a simulink model.
  2 commentaires
Mathieu NOE
Mathieu NOE le 25 Oct 2021
hello
from time data you can obtain a FRF with matlab function tfestimate
Mathieu NOE
Mathieu NOE le 16 Mai 2024
problem solved ?

Connectez-vous pour commenter.

Réponses (1)

nick
nick le 7 Mai 2024
Hi Zara,
As Mathieu mentioned you can obtain a frequency response function with the "tfestimate" function, which assumes the noise is not correlated with either the system input or with the system output.
Furthermore, you can also use the "tfest" function that estimates a continuous-time transfer function system with np poles, using all the input and output signals. The estimation algorithm initializes the estimable parameters using the method specified by the "Initialize Method" estimation option. The initialized parameters are updated using a nonlinear least-squares search method, specified by the "SearchMethod" estimation option. The objective of the search method is to minimize the weighted prediction error norm.
You can also use System Identification app to estimate the transfer function using input and response of the system. You may refer to the following guide for a step-by-step approach to estimate transfer function using the app :
You may refer to the following documentation to learn more about "tfest" function :
Hope this helps.

Community Treasure Hunt

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

Start Hunting!

Translated by