How can i view only a small section of my graph?

14 ビュー (過去 30 日間)
Karim Aawar
Karim Aawar 2022 年 6 月 26 日
コメント済み: Karim Aawar 2022 年 7 月 2 日
So i am undergoing spectral analysis by first applying the FFT to my RF signal. I therefore analyzed the PSD and plotted it against the frequency (see pic). I want to compare this graph with a similar graph but i don't want to compare it all at once. I wanna analyze small sections of the graph say for example from 2MHz to 2.5MHz and then compare my first graph with the my second graph at a frequency of 2MHz to 2.5MHz.
I tried using the Hann and Hamming windowing techniques but it didnt work due to the arrays having incompatible sizes. Therefore, i just want to know how can i analyze multiple small sections of my graph? I was thinking of using a for loop and analysing my graph at say a 0.5MHz step size but i am not sure how that would work as both graphs have the same frequency but differnet PSD's.
Thanking you massively in advance!!
Regards,
Karim

採用された回答

Image Analyst
Image Analyst 2022 年 6 月 26 日
Why don't you try adjusting xlim?
  1 件のコメント
Karim Aawar
Karim Aawar 2022 年 7 月 2 日
That did help thanks :)

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by