decreasing point on curve
Ältere Kommentare anzeigen
Hello,
What could determine the point where the curve start decreasing? how to best specify this point?
Thank you.

Akzeptierte Antwort
Weitere Antworten (2)
Steven Lord
am 1 Okt. 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 Kommentar
Housam
am 1 Okt. 2019
KALYAN ACHARJYA
am 30 Sep. 2019
Bearbeitet: KALYAN ACHARJYA
am 30 Sep. 2019
0 Stimmen
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 Kommentar
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
