How can you get a mathmatical function from a simulink plot?

1 view (last 30 days)
Auke Roddeman
Auke Roddeman on 9 Jun 2021
Commented: Auke Roddeman on 20 Jun 2021
For the graph added in the picture I need to have a mathmatical function. Can someone please give me the steps needed in order to archieve this?
Auke Roddeman
Auke Roddeman on 20 Jun 2021
The scope does not provide the option to chose a place to store the data. Also I cannot find in on my pc.

Sign in to comment.

Answers (1)

Andy Bartlett
Andy Bartlett on 10 Jun 2021
Finding a model or function is a very broad field.
Depending on the nature of the problem and requirements, many tools and techniques might fit the need.
Potential tools include MATLAB's polyfit, A\B or Curve Fitting Toolbox or System Identification Toolbox
Since your plot is coming from a Simulink model, I suggest you explore
Simulink Control Design's model linearizer which provides tools for getting a linear dynamic system model fit to a section of a Simulink model.
  1 Comment
Auke Roddeman
Auke Roddeman on 10 Jun 2021
Dear Andy,
Thank you for this answer but I am currenly not able to dive to deep into this app, although I allready have it. For my problem I am looking for a more specific answer.

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!

Translated by