dsp.SpectrumAnalyzer in Frequency Doimain for Intermodulation Measurements
1 次查看(过去 30 天)
显示 更早的评论
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/254501/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 个评论
回答(1 个)
Kaashyap Pappu
2020-1-13
I have brought this issue to the notice of our developers. They will investigate the matter further.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!