is there a function 'helperRadarPulsePlot(rxpulses,threshold,... fast_time_grid,slow_time_grid,num_pulse_plot);' in matlab 2013a
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2016-11-22
编辑:Walter Roberson
2016-11-22
No, there is not.
It was new in R2013b, and was not present in R2013a.
4 个评论
Walter Roberson
2016-11-23
It is also used in ChirpRangeEstimationExample
The R2013a equivalent function appears to be named rangedemoplotpulse and the R2013a version of the code is at http://www.mathworks.com/help/releases/R2013a/phased/examples/designing-a-basic-monostatic-pulse-radar.html
更多回答(2 个)
Honglei Chen
2016-11-22
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
0 个评论
csscer csscer
2024-1-6
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
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!