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

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.

댓글을 달려면 로그인하십시오.

답변 (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

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 Exchange에서 Event 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