is there a function 'helperRadarPulsePlot(rxpulses,threshold,... fast_time_grid,slow_time_grid,num_pulse_plot);' in matlab 2013a
Afficher commentaires plus anciens
when i am running helperRadarPulsePlot(rxpulses,threshold,... fast_time_grid,slow_time_grid,num_pulse_plot); i get an error message
Undefined function 'helperRadarPulsePlot' for input arguments of type 'double'.
Error in try1 (line 119) helperRadarPulsePlot(rxpulses,threshold,...
how can i solve it
3 commentaires
KSSV
le 22 Nov 2016
There is a problem with class of the input. Seems the function wont accept double.
RESHMA
le 22 Nov 2016
Walter Roberson
le 22 Nov 2016
Upgrade to at least R2013b.
Réponse acceptée
Plus de réponses (2)
csscer csscer
le 6 Jan 2024
I think it is a BUG, so I write the funciton for it.
function helperRadarPulsePlot(pulses,threshold,fgrid,~,num_pulse_plot)
for n=1:num_pulse_plot
subplot(num_pulse_plot,1,n);
plot(fgrid,20*log10(abs(pulses(:,n))),'b','LineWidth',2);hold on;
plot(fgrid,10*log10(threshold)*ones(1,size(pulses,1)),'-.r','LineWidth',1);hold off;
xlabel('Time (s)');
ylabel('Power (dBW)');
title(['Pulse ',num2str(n)]);
end
end
1 commentaire
Andrew Kalukin
le 16 Mar 2025
Thanks for this function. It works nicely for me.
Honglei Chen
le 22 Nov 2016
0 votes
This is a helper function used in the example of Designing a Basic Monostatic Radar. The example ships in R2013a so you should be able to find the corresponding helper function used in that release.
HTH
Catégories
En savoir plus sur Array Geometries and Analysis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!