Cannot get ACPR/ Channel measurements data from spectrumAnalyzer object
3 views (last 30 days)
Show older comments
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:
But grabbed data showed:
which is the occupied BW:
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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!