how to perform Signal amplitude demodulation

1 view (last 30 days)
I need to perform demodulation using square law, with a low pass filter of 1 order and 5 rad/sec band. but the demodulated signal has a bit delay, any body knows how can I fix it?

Answers (1)

Abhi Sundararaman
Abhi Sundararaman on 1 Aug 2017
Using any kind of lowpass filter in general should introduce some delay, so the results you are seeing are to be expected. That said, if you wish to compensate for the delay, you could first design an equivalent butterworth filter using the " butter " function, and then pass in this filter with some additional parameters into the " grpdelay " function to compute the group delay.
Then you could just apply this delay to the final dataset to line up the plots of the two signals.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!