필터 지우기
필터 지우기

Get envelope of multiples curve

조회 수: 18 (최근 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 CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by