how to find the function "helper plot fluctuation loss" to plot this image in matlab help?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Fateme
el 29 de Dic. de 2024
Respondida: Walter Roberson
el 29 de Dic. de 2024
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])

0 comentarios
Respuesta aceptada
Walter Roberson
el 29 de Dic. de 2024
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!