How do I find the bend in a line?

2 ビュー (過去 30 日間)
Louisa Thomas
Louisa Thomas 2017 年 10 月 29 日
編集済み: John D'Errico 2017 年 10 月 29 日
I have the following in my code, which produces a line graph with 5 lines (plotting number of trials (50) on the x axis, against discount rate (k) on the y axis).
figure; plot(self1.k) % standard blue line
hold on, plot(other1.k,'g') % green
hold on, plot(self2.k,'--b') % blue dashed
hold on, plot(other2.k,'r') % red
hold on, plot(self3.k,'.b') % blue points
title('Discount Rate Evolution Over Trials')
I want to find the bend in these lines, to see what number of trials I will need.
How do I go about doing this?
  1 件のコメント
John D'Errico
John D'Errico 2017 年 10 月 29 日
編集済み: John D'Errico 2017 年 10 月 29 日
What bend? How did you create the "lines"? We cannot see into your computer. No matter what, you will need to find the bend in advance, from the data or function itself.

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2017 年 10 月 29 日
hard to tell since you didn't attach any data or screenshots. Maybe try findchangepts().

カテゴリ

Help Center および File ExchangeNetworks についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by