Get envelope of multiples curve
18 次查看(过去 30 天)
显示 更早的评论
Dear all Any idea about the envelope of 2 or more curves via Matlab; Please see the attached Xls file Thanks
4 个评论
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
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
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?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!