How can I do to analyze a curve from scope
Show older comments
I need to calculate the exact inflexion point of my curve from the scope on simulink.
How can I do that?
this is my curve:
Thanks
Answers (3)
Walter Roberson
on 12 Jan 2012
0 votes
You cannot calculate the exact inflection point. Calculating the exact inflection point would require either knowing the generating equations exactly, or require an infinite number of data points.
Remember, "inflection point" is an idea in the mind of The Calculus, and The Calculus is woeful and wrath about being misused for situations that are not continuous.
You could calculate approximate derivatives and use that to find points that are adjacent to an inflection point, but you cannot locate the exact inflection point.
Fernando Loyola
on 13 Jan 2012
0 votes
Walter Roberson
on 13 Jan 2012
I do not know what you would have to do in order to get access to the graph from Simulink. At the MATLAB level, once you have the figure handle you can find the axes handle, and from there, find the line or lineseries object; and then you can get() the XData and YData properties of the line.
After that, the first approximate numeric derivative is
approxFirst = diff(Y) ./ diff(X);
Categories
Find more on Multicore Processor Targets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!