01-11-2016 09:13 AM
Firstly i add up two random generated siganl to get a final signal.
then,how can i get the envelope of the final signal?and plot it in a graph?
thank you
like the picture i attached.
Solved! Go to Solution.
01-11-2016 09:41 AM
Hi Ying, instead of attaching a picture taken from your phone, why not upload the actual code? Is it proprietary?
01-11-2016 10:36 AM
Sorry,im a new user in labview,here is the code
01-11-2016 10:38 AM
Unfortunately I am using LV 2014 so I cannot view it. Can you backsave it? (Maybe to 2012 so more people can see)
01-11-2016 10:46 AM
Like this?
01-11-2016 10:53 AM
Using Hilbert transforms you can get the required envelop. Just it returns only upper envelope. You need some more coding to get also lower envelope.
Do you need something like this?
Thanks,
Arev
CTO | RAFA Solutions
01-11-2016 10:55 AM
Yes! can u share the code ?
01-11-2016 10:59 AM
01-11-2016 11:00 AM
Thank you so much!
01-11-2016 10:49 PM
Sorry, I have question again....If I change one of the signal into sawtooth or square wave, the envelope is not that smooth and some peak it detect is not accurate. So how can I fix it?