plot a smooth envelope for oscillation curves
显示 更早的评论
Hello, everyone, I would like to plot a smooth envelope for a oscillation curve. It seems that the function 'envelope' in MATLAB can be used to plot a envelope curve. But I cannot obtain a smooth envelope based on this function. Would anyone help me about this envelope curve? Following is the source data. Thanks.
[up,dw]=envelope(y,100,'analytic'); figure,plot(x,[up;dw])

[up,dw]=envelope(y,100,'peak'); figure,plot(x,[y;up;dw])

This is the kind of smooth envelope curve I want to obtain.

采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Spectral Estimation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


