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
Citar como
Ayad Al-Rumaithi (2024). Envelope of a Signal (https://www.mathworks.com/matlabcentral/fileexchange/118420-envelope-of-a-signal), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2022b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |