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

4 ビュー (過去 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 Center および File ExchangeImage Processing Toolbox についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by