I'm performing signal envelope detector using Hilbert transform however having problems. I have searched and tried some ways on forum but it still not been. I have refer the following article for my project
I'm looking forward you see and correct errors happen.
Thanks so much.
From a 5 second glance at your code, it look like the FOR loop iterates only once. You are building a 2D array with one row from a 1D array, then autoindex on the FOR loop. One row --> one iteration!)
Remove the "build array" and set the input tunnel not to autoindex. See if this improves things (I have not looked at the rest of the code yet).
It is also not clear why you wire dt and the waveform across shift registers. They never change! Wire them around the FOR loop instead. (granted, the pdf document shows this Rube Goldberg contruct too :D)
Thanks for help. I modified the program and I think it's true. For loop no problem. Can you review the Hilbert transform for me? I think it is a problem. 😞
Your data reduction loop does not work. I think the Hilbert implementation is okay. I changed your data reduction as follows:
Here's the output with your Raw SEMG-time domain overlaid
Thanks for your answer.
Make your idea is quite similar to the way I have done. After thoroughly study I have a better understanding of the Hilbert transform and taking the signal envelope.
This is a project completed repair. However, the envelope does not seem to be beautiful.
Hope everyone has comments for issues in order to I can handle more perfect for your project.
Again thanks for comments.