Why using imagesc and plotResponse to plot range-doppler map give different magnitude level?

3 次查看(过去 30 天)
I am using the phased.RangeDopplerResponse and the dechirped signal xr_con to generate the range-doppler response. The code is given below. With the same xr_con here, why the imagesc and plotResponse give different maximum magnitude output?
For imagesc, the maximum magnitude is 46.1634 but the plotResponse gives 56.1634, where there is exactly a 10 dB difference here.
As far as I know, for default of plotResponse, the magnitude is in 'dB' as well.
I checked that, for magnitude, both plots are the same. However, for dB plot, somehow, they are different.
rngdopresp = phased.RangeDopplerResponse('PropagationSpeed',c,...
'DopplerOutput','Speed','OperatingFrequency',fc,'SampleRate',fs,...
'RangeMethod','FFT','SweepSlope',slope,...
'RangeFFTLengthSource','Property','RangeFFTLength',1024,...
'DopplerFFTLengthSource','Property','DopplerFFTLength',256);
% clf;
[resp,rng_grid,dop_grid] = rngdopresp(xr_con);
figure;
imagesc(dop_grid,rng_grid,mag2db(abs(resp)));
xlabel('Speed (m/s)');
ylabel('Range (m)');
title('Range-Doppler Map');
figure;
plotResponse(rngdopresp,xr_con); % Plot range Doppler map
axis([-v_max v_max 0 d_max])
clim1 = caxis;

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Range and Doppler Estimation 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by