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

조회 수: 13 (최근 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?

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by