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 件のコメント

Alex Sha
Alex Sha 2021 年 6 月 10 日
If possible, provide your data please,rather than a picture only.
Auke Roddeman
Auke Roddeman 2021 年 6 月 10 日
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.
Alex Sha
Alex Sha 2021 年 6 月 11 日
So, where is your data file?
Auke Roddeman
Auke Roddeman 2021 年 6 月 20 日
The scope does not provide the option to chose a place to store the data. Also I cannot find in on my pc.

サインインしてコメントする。

回答 (1 件)

Andy Bartlett
Andy Bartlett 2021 年 6 月 10 日

0 投票

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 件のコメント

Auke Roddeman
Auke Roddeman 2021 年 6 月 10 日
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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeEvent Functions についてさらに検索

製品

リリース

R2020b

タグ

質問済み:

2021 年 6 月 9 日

コメント済み:

2021 年 6 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by