dsp.SpectrumAnalyzer in Frequency Doimain for Intermodulation Measurements

4 views (last 30 days)
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 ?
that is the code I am using:
SA = dsp.SpectrumAnalyzer('InputDomain','Frequency',...
'ReferenceLoad',50, ...
'FrequencyOffset',250000000, ...
'SampleRate', 1e6, ...
'Title','ip3', ...
'YLimits', [-60,40]);
SA.RBW = 5000;
step(SA, data);

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.


Find more on Code Generation 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!