MATLAB Answers

How Can I extract the Spectrum data from the "Spectrum Analyzer" in Matlab Simulink?

조회 수: 9(최근 30일)
XuesuTeng 2020년 1월 6일
답변: Khodour Al Kadry 2021년 7월 14일
As shown in the title, I want to extract the power density data displayed in the "Spectrum Analyzer" into a matrix or a .mat file.
I have tried to print it in figure and use the brush tool, but it does not work, could anybody help me? Thank you!


Khodour Al Kadry
Khodour Al Kadry 2021년 7월 14일
Hi Xuesu
You can the method getSpectrumData to extract the data from the scope. Please refer to the following documentation pages for more info and examples:
dsp.SpectrumAnalyzer getSpectrumData
Spectrum Analyzer Bloxk getSpectrumData

Community Treasure Hunt

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

Start Hunting!

Translated by