Direction of Arrival on a moving platform
1 次查看(过去 30 天)
显示 更早的评论
close all; clc;
updateRate = 0.05; %unit is hertz (1/T)
Simple Localization Truth Angle
RadarPos = [0,0,0]';
RadarVel = [0,0,0]';
radarplatform = phased.Platform('MotionModel','Velocity',...
'InitialPosition',RadarPos,'Velocity',RadarVel,...
'InitialOrientationAxes',eye(3));
airplanePlatforms = phased.Platform(...
'InitialPosition',[100.0;10.0;0],...
'Velocity',[-30;0;0]);
sSV = phased.ScenarioViewer('BeamRange',50.0,'UpdateRate',updateRate,...
'PlatformNames',{'Base Station','Client'},'ShowPosition',true,...
'ShowSpeed',true,'ShowAltitude',true,'ShowLegend',true);
frame = 100;
storeang = zeros(size(frame));
storerange = zeros(size(frame));
for i = 1:frame
[radar_pos,radar_vel] = step(radarplatform,updateRate);
[tgt_pos,tgt_vel] = step(airplanePlatforms,updateRate);
[rng,ang] = rangeangle(tgt_pos,radar_pos);
[az,el,r] = cart2sph(tgt_pos(1,1),tgt_pos(2,1),tgt_pos(3,1));
storeang(i) = ang(1,1);
storerange(i) = rng(1,1);
sSV.BeamSteering = ang;
step(sSV,radar_pos,radar_vel,tgt_pos,tgt_vel);
%pause(0.01);
end
plot(storeang)
I have a Matlab phased array toolbox question that I hope that someone here is able to help with. I modified the code given via examples to suit my environment.
I'm modelling a base station set up at origin with a client on a moving platform transmitting a narrowband signal. The base station is there to collect and determine the direction of arrival of the signal from the moving platform.
I've tried to model it but I can't seem to figure out how to model the narrowband emitter onto the platform and the scenario.
I hope a kind soul is able to help.
Thank you.
Murdifi
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Transmitters and Receivers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!