plot a smooth envelope for oscillation curves
Afficher commentaires plus anciens
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.

Réponse acceptée
Catégories
En savoir plus sur Spectral Estimation dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


