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

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?

4 Kommentare

If possible, provide your data please,rather than a picture only.
Dear Alex,
I have tried the following:
  • log the graph as a dataset
  • try to load it
But I get an error, please watch the pictures provided.
So, where is your data file?
The scope does not provide the option to chose a place to store the data. Also I cannot find in on my pc.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Andy Bartlett
Andy Bartlett am 10 Jun. 2021

0 Stimmen

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 Kommentar

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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Version

R2020b

Gefragt:

am 9 Jun. 2021

Kommentiert:

am 20 Jun. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by