- https://www.mathworks.com/help/comm/ref/rfprop.raytracing.html
- https://www.mathworks.com/help/comm/ref/propagationmodel.html#d126e277669
Ray Tracing tx Pattern routes
15 views (last 30 days)
Show older comments
Hello everyone, I am running a ray-tracing problem and I notice something that seems strange to me. I am running the same 3D ray-tracing geometry problem we different transmitter antennas.
What seems odd is that for every antenna the results of the ray-tracing (i.e. comm.Ray objects ) are the same no matter what txsite is being used.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1550272/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1550277/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1550282/image.png)
By also checking on the rays returned by the "raytrace" function it seems that the rays are the same.
Especially in the case of the last example ( right image ) the radiation pattern is a "pyramidical" one with no directivity towards the rx_sites positions. Although that is the case LoS rays are reaching the receivers.
Does anyone know why is that happening ?
Here is also some of the code used.
% creation of transmitter site
tx = txsite("cartesian", ...
"AntennaPosition",tx_pos, ...
"TransmitterFrequency",fc,...
"Antenna",tx_antenna,...
"TransmitterPower",0.001);
tx.AntennaAngle = tx_angles; % azimuth and elevation angles in order for the antenna to "look" at specified point
show(tx,"ShowAntennaHeight",false)
% creation of the propagation model
pm = propagationModel("raytracing", ...
"CoordinateSystem","cartesian", ...
"Method","sbr", ...
"AngularSeparation","medium",...
"MaxNumReflections",3 + maxReflections, ...
"MaxNumDiffractions",1,...
"SurfaceMaterial","perfect-reflector");
rays = raytrace(tx,rx,pm);
Thank you in advance
0 Comments
Answers (1)
Rangesh
on 30 Nov 2023
Hi Stavros,
I understand that you want to comprehend the reason behind having the same ray tracing for different locations of the transmit antennas.
It seems that there might be an issue with the antenna configuration not being correctly applied for the transmitter in the ray-tracing simulation. I recommend checking the antenna settings and ensuring that they are correctly associated with each transmitter.
To better understand the issue, it would be beneficial to provide the complete code so that I can assist you more effectively.
For further understanding on ray tracing follow this link.
I hope this resolves your query.
Thanks,
Rangesh.
0 Comments
See Also
Categories
Find more on RF Propagation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!