decreasing point on curve
Mostra commenti meno recenti
Hello,
What could determine the point where the curve start decreasing? how to best specify this point?
Thank you.

Risposta accettata
Più risposte (2)
Steven Lord
il 1 Ott 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 Commento
Housam
il 1 Ott 2019
KALYAN ACHARJYA
il 30 Set 2019
Modificato: KALYAN ACHARJYA
il 30 Set 2019
0 voti
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 Commento
Categorie
Scopri di più su Whos in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
