pwelch finds two-sided PSD at carrier frequency
2 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
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...
0 Comments
More Answers (0)
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!