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!