Cannot get ACPR/ Channel measurements data from spectrumAnalyzer object
3 次查看(过去 30 天)
显示 更早的评论
I want to extract the ACPR data from the spectrumAnalyzer object, by using getmeasurementsdata. However, I want to grab the ACPR, but the grabbed data is always Occupied BW. Windows showed:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1089575/image.png)
But grabbed data showed:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1089580/image.png)
which is the occupied BW:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1089585/image.png)
Code:
scope = spectrumAnalyzer(SampleRate=122880000, ...
MeasurementChannel=1, ...
ShowLegend=true, ...
ChannelNames={'Input','Output woDPD - Simulated','Output woDPD - Measured', 'Output wDPD'}, ...
YLimits=[-100 0]);
% Channel Measurements Configuration
scope.ChannelMeasurements.Algorithm = 'ACPR';
scope.ChannelMeasurements.Span = 18.36e6;
scope.ChannelMeasurements.AdjacentBW = 18.36e6;
scope.ChannelMeasurements.ACPROffsets = [20000000 40000000];
scope.ChannelMeasurements.Enabled = true;
scope.PlotAsTwoSidedSpectrum = true;
scope.ReferenceLoad = 1;
scope(randn(100000,1))
data = getMeasurementsData(scope,'all');
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!