Changing objects RCS as a function of azimuth and elevation angle
2 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to use the SAR simulation (which you can conveniently run by just typing openExample('phased/SyntheticApertureRadarImageFormationExample') in the command window) to model a Synthetic Aperture Radar that visualizes objects whose reflectivity (RCS) changes. When I changed the phased.RadarTarget() object I saw that when I instantiated it to simulate signal reflection there were problems with the parameters. It expected 3 parameters. Once I learned what they were I was getting an error that the first parameter had to be a struct. I changed my complex matrix (which represents an incident signal) to a struct, but then an error popped up saying that I had to change it to a double. The code below simulates the same error I'm getting without having to run the simulation.
% General_Playground.m
clear;
clc;
% Random matrices (Scattering)
a = randi([0,1],[181,91]);
b = randi([0,1],[181,91]);
f = randi([0,1],[181,91]);
d = randi([0,1],[181,91]);
% Reference angles
az = input('Input the azimuth angle');
el = input('Input the elevation angle');
% Generate complex numbers
for ix = 1:2002
for iy = 1:3
q = randi([0,15]);
w = randi([0,15]);
r(ix,iy) = q + w*1i;
end
end
% Create target
target = phased.RadarTarget('EnablePolarization',true,'ScatteringMatrix',[a(az,el),b(az,el);b(az,el),f(az,el)] ...
,'OperatingFrequency',600e6);
% Target reflection
y = target(r,[45,0],azelaxes(180,0));
disp(y(1:10));
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!