Questions in FMCWExample about plotresponse

i want to get the value of the plotresponse,how can i do?
i want to get the max value in this Range-Speed picture.

1 Comment

I assume that the example is the "Automotive Adaptive Cruise Control Using FMCW Technology" example and the plot comes from the phased.RangeDopplerResponse class.
To get the max value of the Range-Speed picture, I suggest capturing the step output of rngdopresp.
% Determine maximum value
resp = rngdopresp(xr);
respPower = abs(resp).^2;
respPower_dB = pow2db(respPower);
maxRespPower_dB = max(respPower_dB(:))

Sign in to comment.

Answers (0)

Asked:

on 30 Mar 2021

Commented:

on 2 Jul 2024

Community Treasure Hunt

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

Start Hunting!