decreasing point on curve
Afficher commentaires plus anciens
Hello,
What could determine the point where the curve start decreasing? how to best specify this point?
Thank you.

Réponse acceptée
Plus de réponses (2)
Steven Lord
le 1 Oct 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 commentaire
Housam
le 1 Oct 2019
KALYAN ACHARJYA
le 30 Sep 2019
Modifié(e) : KALYAN ACHARJYA
le 30 Sep 2019
0 votes
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 commentaire
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
