MATLAB Answers

dsp.SpectrumAnalyzer in Frequency Doimain for Intermodulation Measurements

3 views (last 30 days)
Volker Trapp
Volker Trapp on 15 Dec 2019
Answered: Kaashyap Pappu on 13 Jan 2020
I was trying to use the dsp.SpectrumAnalyser to do intermodulation measurements.
The data for the control was received from a hardware spectrumanalyzer by a tcpip connection.
This data is in the frequency domain. So I told this to dsp.SpectrumAnalyzer. Data is visualized
fine, but when using the Tool Distortion measurement it comes up with an error message :
"incorrect size for expression 'rbw' expected [1x1] but found [0x0]."
IP3 calculation in the frequency domain is fairly simple and for shure Matlab is not needed.
Also RBW is not needed for calculation and setting it will not solve the problem.
I know that the tool was made to do calculations in the time domain.
But if it is possible to use the control in frequency domain, it should also be possible to use
the measurement tools.
Any Idea how this can be done ?
ip3.PNG
that is the code I am using:
load('ws.mat')
SA = dsp.SpectrumAnalyzer('InputDomain','Frequency',...
'ReferenceLoad',50, ...
'FrequencyOffset',250000000, ...
'SampleRate', 1e6, ...
'Title','ip3', ...
'YLimits', [-60,40]);
SA.RBW = 5000;
step(SA, data);

  0 Comments

Sign in to comment.

Answers (1)

Kaashyap Pappu
Kaashyap Pappu on 13 Jan 2020
I have brought this issue to the notice of our developers. They will investigate the matter further.

  0 Comments

Sign in to comment.

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by