decreasing point on curve
Mostrar comentarios más antiguos
Hello,
What could determine the point where the curve start decreasing? how to best specify this point?
Thank you.

Respuesta aceptada
Más respuestas (2)
Steven Lord
el 1 de Oct. de 2019
The ischange function may be of use to you. The different method inputs detect different change points. Experiment with the various options.
>> x = -10:0.125:10;
>> y = -tanh(x);
>> plot(x, y)
>> ic = ischange(y, 'linear');
>> hold on
>> plot(x(ic), y(ic), 'ro')
If you're using release R2019b or later, you can facilitate this experimentation using the Find Change Points Live Editor Task in the Live Editor. This will allow you to interactively change the method and the parameters and see which change points MATLAB detected immediately.
1 comentario
Housam
el 1 de Oct. de 2019
KALYAN ACHARJYA
el 30 de Sept. de 2019
Editada: KALYAN ACHARJYA
el 30 de Sept. de 2019
0 votos
One way:
Find the y, when y(i)<y(i-1) (First Case) iterate i from 2 to end
Second way:
data=y(i+1)-y(i); %Create the data, then apply diff for first positive/negative y value
1 comentario
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
