is there a function 'helperRad​arPulsePlo​t(rxpulses​,threshold​,... fast_time_​grid,slow_​time_grid,​num_pulse_​plot);' in matlab 2013a

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

There is a problem with class of the input. Seems the function wont accept double.
can you suggest how to solve it

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
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

sir pls can you suggest me an idea to solve it
i have already tried step function but it doesnt work
It just does a bunch of plotting. Comment it out and go on.
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개)

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
Honglei Chen
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

카테고리

질문:

2016년 11월 22일

댓글:

2025년 3월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by