How to do inflection points on graphs in Simulink

조회 수: 9 (최근 30일)
Alex Walton
Alex Walton 2022년 2월 19일
댓글: Mathieu NOE 2024년 8월 27일
How to get an inflection point on my graph, also if you could show me how to put axies on the graph that would be very helpfull.
  댓글 수: 4
Mathieu NOE
Mathieu NOE 2022년 3월 3일
hi
woud suggest you to export the simulink data to the matlab workspace for easier post processing
can you share it ?
what point in your graph are you looking for ?
Mathieu NOE
Mathieu NOE 2022년 3월 16일
hello
problem solved ?

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

답변 (1개)

arushi
arushi 2024년 8월 27일
Hi Alex,
I understand that you are trying to get the coordinates of the inflexion point on the graph.
You can follow these steps to get the coordinates of the inflexion points:-
  1. Use the Curve Fitting toolbox to obtain an approximate functional equation for the graph displayed by the Scope block. This will provide you with an equation that represents the curve.
  2. Compute second derivative of the function using 'diff' function .
  3. Use a conditional statement to detect sign changes in the second derivative.
  4. Store the coordinates of the inflection points in a variable
For additional information regarding 'diff' function and Curve Fitting toolbox please refer to the following documentations:
I hope it helps!
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2024년 8월 27일
Would suggest gradient instead of diff for differentiation

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

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by