Finding a transfer function from time series data in simulink

15 visualizaciones (últimos 30 días)
Zara Freeman
Zara Freeman el 24 de Oct. de 2021
Comentada: Mathieu NOE el 16 de Mayo de 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 comentarios
Mathieu NOE
Mathieu NOE el 25 de Oct. de 2021
hello
from time data you can obtain a FRF with matlab function tfestimate

Iniciar sesión para comentar.

Respuestas (1)

nick
nick el 7 de Mayo de 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