Envelope of a Signal

Envelope of a Signal
32 Downloads
Updated 30 Sep 2022

View License

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

Cite As

Ayad Al-Rumaithi (2024). Envelope of a Signal (https://www.mathworks.com/matlabcentral/fileexchange/118420-envelope-of-a-signal), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0