how to find the function "helper plot fluctuation loss" to plot this image in matlab help?

3 次查看(过去 30 天)
how to find the function "helper plot fluctuation loss" to plot this image in matlab help?
% Detection probabilityPd = linspace(0.01,0.995,100);
% Probability of false alarmPfa = [1e-8 1e-4];
% Number of received pulsesn = [1 10 50];
% Fluctuation loss for Swerling 1 caseL1f = zeros(numel(Pd),numel(Pfa),numel(n));
% Fluctuation loss for Swerling 2 caseL2f = zeros(numel(Pd),numel(Pfa),numel(n));
for i = 1:numel(n) % Detectability factor for a steady target D0n = detectability(Pd,Pfa,n(i),'Swerling0');
% Detectability factor for Swerling 1 case fluctuating target D1n = detectability(Pd,Pfa,n(i),'Swerling1');
% Detectability factor for Swerling 2 case fluctuating target D2n = detectability(Pd,Pfa,n(i),'Swerling2');
L1f(:,:,i) = D1n-D0n; L2f(:,:,i) = D2n-D0n;end
figureax1 = subplot(1,2,1);helperPlotFluctuationLoss(ax1,Pd,L1f)
title(ax1,{'Fluctuation Loss','Swerling 1 Case'});labels = helperLegendLabels('N=%d','P_{fa}=%.0e',n,Pfa);legend(labels)
ax2 = subplot(1,2,2);helperPlotFluctuationLoss(ax2,Pd,L2f)
title(ax2,{'Fluctuation Loss','Swerling 2 Case'})legend(labels)
set(gcf,'Position',[100 100 800 600])

采纳的回答

Walter Roberson
Walter Roberson 2024-12-29
When you
openExample('radar/IntegrationAndFluctuationLossesExample')
it will set up a directory for you and cd to that directory. That directory contains helperPlotFluctuationLoss.m and helperLegendLabels.m

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

产品


版本

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by