Detect a single inflection point of the given.

1 visualización (últimos 30 días)
Alejandro Fernández
Alejandro Fernández el 14 de Mayo de 2020
Comentada: Alejandro Fernández el 25 de Jun. de 2020
Hi everyone, I was wondering if someone could help me a little to find the tipping point of that data series automatically, as data can change.
x = [15 14 13 12 11 10 9 8 7 6 5 4 3 2 1];
y = [0 1 0 1 0 0 22 49 201 255 255 255 255 255 255];
The data represented are those shown below
df1 = gradient(y,x)
df2 = gradient(df1,x)
figure
plot(x,df2,'-o','LineWidth',2)
hold on
yline(0);
But now i don't know how to decide which is de correct inflex point of these data.
  • It must be just 1
  • It must be on the given points
  • In this case it has to be or the point (7,201) or (8,49)
I have looked in [1], [2], [3], [4], but i couldn't solve my problem.
Thank you for all.

Respuesta aceptada

Gaurav Garg
Gaurav Garg el 23 de Jun. de 2020
Hi,
You can take use of Symbolic Math Toolbox and functions inside it to find the inflection point for your problem.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by