Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

to find the envelope of some data in Matlab

Status
Not open for further replies.

orcad

Newbie level 1
Newbie level 1
Joined
Jan 13, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
matlab envelope

I have some discreet data
but is there any function to find the envelope of the data in matlab?
thx!
 

envelope matlab

you may do it like the following:

plot(t,y)
hold on
ind=find(diff(sign(diff(y)))==+2)+1;
val=interp1(t(ind),y(ind),t,'linear');
plot(t,val,'r')
 

    orcad

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top