pwelch finds two-sided PSD at carrier frequency

9 views (last 30 days)
I have the signal rt=xt+it, where x and i are BPSK-modulated rectangular pulse train transmitted at carrier frequency fx and fi. When I try to find the PSD of it alone using the pwelch function like so
[psdi,fri] = pwelch(it,[],[],(fx-5*W:10^6:fx+5*W),fs);
where W and fs are the signal bandwidth and sampling rate of xt, I get a mirrored PSD around fx, which is not what I expect. I expect the mirroring to happen at -fi. Why is this happening?

Accepted Answer

dpb
dpb on 19 Sep 2022
"...I get a mirrored PSD around fx, ... Why...?"
Because in
[psdi,fri] = pwelch(it,[],[],(fx-5*W:10^6:fx+5*W),fs);
you specifically asked for the two-sided estimates at the frequencies fx +/- 5*W; that's centered about fx, not fi
Change fx to fi and joy shall ensue...

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!