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!


