Get envelope of multiples curve

7 ビュー (過去 30 日間)
Lila wagou
Lila wagou 2016 年 2 月 27 日
コメント済み: Star Strider 2023 年 7 月 28 日
Dear all Any idea about the envelope of 2 or more curves via Matlab; Please see the attached Xls file Thanks
  4 件のコメント
Lila wagou
Lila wagou 2016 年 2 月 29 日
Any help please
Roger Stafford
Roger Stafford 2016 年 2 月 29 日
編集済み: Roger Stafford 2016 年 3 月 1 日
@Lila: The word 'envelope' is not appropriate for "fitting" a curve to a finite number of other curves. You need a precise definition of the curve you are seeking if you want matlab to determine it.

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

採用された回答

Star Strider
Star Strider 2016 年 2 月 29 日
With your data, I would simply use the min and max functions:
d = xlsread('Lila wagou 3_Curves.xlsx');
t = d(:,1);
data = d(:,2:end);
env = [min(data,[],2) max(data,[],2)];
figure(1)
plot(t, data)
hold on
plot(t, env(:,1), '-g', 'LineWidth',2)
plot(t, env(:,2), '-g', 'LineWidth',2)
hold off
grid
  4 件のコメント
Anand
Anand 2023 年 7 月 27 日
Is there a way to characterize lets say 1k graphs, and then any new series that's added can be approved/rejected based on it being inside the envelope?
Star Strider
Star Strider 2023 年 7 月 28 日
@Anand — This makes no sense to me.

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by