Is there any example of Range-Speed Response Pattern in MATLAB or how can i crate one?

2 次查看(过去 30 天)
I need to use RSRP like the following. anyone know of any link to this example? or how can i create it?
Apparached thanks!

回答(1 个)

Star Strider
Star Strider 2024-3-27
编辑:Star Strider 2024-3-27
See the Phased Array System Toolbox documentation section on Range and Doppler Estimation and then choose the appropriate section. (I do not have that Toolbox so I have no experience with it.) Choose the section that most closely matches what you want to do.
That appears to be a surf plot seen from the top using view(0,90).
Creating a surf plot requires creating a matrix as the ‘Z’ argument, so you would need to calculate ‘Power’ as a function of ‘Range’ and ‘Speed’ to produce that. I have no idea what calculations go into that, however simulating that plot is straightforward —
x = -150:2:150;
y = -150:2:150;
p = @(x,y,r) (exp(-(x.^2)*0.05) + exp(-(y-r).^2*0.05));
[X,Y] = ndgrid(x, y);
range = 100;
Z = p(X,Y,range);
figure
surf(X, Y, Z)
view(0,90)
% colormap(turbo)
hcb = colorbar;
hcb.Label.String = 'Power (dB)';
xlabel('Speed (m/s)')
ylabel('Range (meters)')
I cannot get the scaling correct (even using the mag2db fundtion) to get the correct result in decibels. However the point is to demonstrate how to produce the plot.
.

Community Treasure Hunt

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

Start Hunting!

Translated by