LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Plot the Envelope of the resulting signal of 2 random signal?

Solved!
Go to solution

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.

 

0 Kudos
Message 1 of 18
(5,129 Views)

Hi Ying, instead of attaching a picture taken from your phone, why not upload the actual code? Is it proprietary?

0 Kudos
Message 2 of 18
(5,109 Views)

Sorry,im a new user in labview,here is the code

0 Kudos
Message 3 of 18
(5,070 Views)

Unfortunately I am using LV 2014 so I cannot view it. Can you backsave it? (Maybe to 2012 so more people can see)

0 Kudos
Message 4 of 18
(5,063 Views)

Like this?

0 Kudos
Message 5 of 18
(5,055 Views)

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?

 

Envelope.JPG

 

Thanks,

Arev

 

CTO | RAFA Solutions

 

Certified-LabVIEW-Embedded-Systems-Developer_rgb.jpgCertified-LabVIEW-Architect_rgb.jpg

Message 6 of 18
(5,037 Views)

Yes! can u share the code ?

0 Kudos
Message 7 of 18
(5,029 Views)
Solution
Accepted by topic author Ying88827

Please find attached!

 

Thanks,

Arev

 

CTO | RAFA Solutions

 

Certified-LabVIEW-Embedded-Systems-Developer_rgb.jpgCertified-LabVIEW-Architect_rgb.jpg

Message 8 of 18
(5,015 Views)

Thank you so much!

0 Kudos
Message 9 of 18
(5,008 Views)

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?

0 Kudos
Message 10 of 18
(4,942 Views)