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

2 ビュー (過去 30 日間)
WeiQuan 2024 年 3 月 27 日

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 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.
.

サインインしてコメントする。

### カテゴリ

Help Center および File ExchangePulse and Transition Metrics についてさらに検索

### Community Treasure Hunt

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

Start Hunting!

Translated by