This tool finds the upper and lower envelopes of a signal. It selects the data points with the maximum possible area for the upper envelope and the minimum possible area of the lower envelope. Based on this method, it only works well with concave upper envelopes and convex lower envelopes. Example file is provided.
function [xe,ye]=Envelope(x,y,type,N)
input:
x: x vector of the signal
y: y vector of the signal
type: 'upper' for upper envelope and 'lower' for lower envelope
N: number of data points of the envelope
output:
xe: x vector of the envelope
ye: y vector of the envelope
Cita come
Ayad Al-Rumaithi (2024). Envelope of a Signal (https://www.mathworks.com/matlabcentral/fileexchange/118420-envelope-of-a-signal), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2022b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0 |