plot a smooth envelope for oscillation curves
Mostra commenti meno recenti
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.

Risposta accettata
Categorie
Scopri di più su Spectral Estimation in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


