File Exchange

image thumbnail

Envelope1.1

version 1.0 (7.54 KB) by

A generalized function can plot the envelope of any given data.

3.97059
32 Ratings

78 Downloads

Updated

No License

A generalized function can plot the envelope of any given data. Additionally, a demos m-file shows how to use it.

Comments and Ratings (44)

SD

SD (view profile)

Hi Sushreyo! Can you please tell me how you made this code work for stress strain hysteresis loop?

Wayne Jan

bravo

Great one! I needed a Matlab function to plot the envelope of a general material stress-strain hysteresis loop. I had to make some simple edits to this code so as to ensure the X-vector in the plot is monotonically increasing.

YEON HEE LEE

I really like it. But I don't think It works on pressure signal.

nour yousfi

Paula

Paula (view profile)

Lack of a list of different interpolation methods, the .zip file only contained the function, the demo and a set of data.

DAVID

DAVID (view profile)

Robust only with sinusoidal periodic signal

Lila wagou

Please, how to do it for extracting the envelope for 2 or more curve ?

WWOOWW!!!

Navid H

Navid H

Great job!

daniel

daniel (view profile)

rad! thanks works great for what Im doing

Excellent! Thanks.. It worked just perfect for the signals i work with.

leah

leah (view profile)

Ali Ali

Thanks a lot

zhao zhanfeng

good

chao

chao (view profile)

Vishal

Vishal (view profile)

viewing

Alonso Tapia

i couldn´t edit, so i will add another commentary..
any given data without noise should be the description

Alonso Tapia

looks like it works fine only for Matlab/Simulink generated data

jp beat

try and test

Jveer T

3d data as well?

shen zhihui

John Lee

good

Stilliyan Georgiev

Stiliyan Georgiev

SASSOLAS Benoît

There is some problems when signal contains some noise.

Daniel Morim

It isn't work well for "any signal".

patrick huber

perfect, recursive envelopes works great

a d

great

Monica Voinescu

Exactly what I needed. Short and efficient.

Davide Renzi

Real good job

Zhonghua Wang

Randy Elford

Does the job. Well done.

Ashraf Hamad

easy, simple, effective

Raihan Rafique

Koustuv Debnath

Quite good.
Did a lot of serch but no other m file was online.

Nacho Marín

The simpler the better.. Just great!!!!

Andrea Gentili

Clean and practical, great work.

yang feng

thanks a lot!

Mirza Faisal

Helped a lot... Thanks...

g Flauti

OCR Persian OCR

baba kheili bahali!!!
Thanks!!

Stijn Helsen

nice written routine (short and clear) but:
some optimisation could be done (find is done twice, while not necessary);
not working correctly if extreme points have successive equal points. example:
[x1,y1,x2,y2]=envelope(1:10,[0 1 -1 2 2 -2 -2 1 -1 0])

Updates

Modify the envelope function and add the interpolation into it. So it is much easier for user to use envelope function. Additionally, screenshot is changed.

MATLAB Release
MATLAB 6.1 (R12.1)
Acknowledgements

Inspired: envelope

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video