decreasing point on curve
古いコメントを表示
Hello,
What could determine the point where the curve start decreasing? how to best specify this point?
Thank you.

採用された回答
その他の回答 (2 件)
Steven Lord
2019 年 10 月 1 日
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.
KALYAN ACHARJYA
2019 年 9 月 30 日
編集済み: KALYAN ACHARJYA
2019 年 9 月 30 日
0 投票
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 件のコメント
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
