How to do inflection points on graphs in Simulink
4 ビュー (過去 30 日間)
古いコメントを表示
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/900145/image.png)
4 件のコメント
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 ?
回答 (1 件)
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:-
- 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.
- Compute second derivative of the function using 'diff' function .
- Use a conditional statement to detect sign changes in the second derivative.
- 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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!