How do I find out more about the total number of spawned rays from a transmitter?

2 views (last 30 days)
So recently I have been messing around with the ray tracing capabilities of MATLAB for radio propagation modelling, specifically using the SBR method, and have come to a standstill as I cannot dive deeper into the core aspect of things.
I know that currently MATLAB has the txsite, rxsite, propagationModel, raytrace, comm.Ray and alot of other functions with several values and properties to create a variety of different ray-tracing simulations and find out a lot about the links between the sites and rays along their paths taken.
The thing that I would like to know more about, is finding out whether or not MATLAB has something built-in, or has a way to code a certain method that will allow me to visualize in 3D, or even just a non-graphic detailed display in the command window, for the total number of rays that a completely default ray tracing scenario with the SBR method using cartesian coordinates would have.
For example, I know that I can create sites, load the model and get it up and running using siteviewer object, and then create my propagation model, and finally call on the raytrace using these and the map of whatever .stl format model I have, to run and visualize the rays and their paths with all sorts of various properties and so on. Now, what I can't see or tell, is the rays that haven't reached the receiver at all, since I already know MATLAB's built-in functions as mentioned above, are mainly designed to show the paths of those that reached the receiver somehow, whether directly or through a couple of reflections and diffractions. Instead, I want to see the total number of rays emitted from the transmitter in the first place, regardless of the receiver and if they reached it, just so I could tell how many rays does my current scenario/simulation actually emit/spawn. In a certain room, I might be able to see and array of 75 comm.Ray objects by either plotting them with rays{1}, or directly seeing them in 3D in the siteviewer, but how do I know what are the details of the rest of the rays that never made it to the rxsite?
I know this is a lot of gibberish, but my main concern is trying to see atleast a head count or details of the total exact number of rays emitted by the transmitter, either with mostly default properties, or even properties of my own.
One of the main reasons I ask this is because somewhere in the previously asked questions regarding MATLAB functionality for ray tracing, it was mentioned that MATLAB by default, if you change nothing, emits a total of 24 rays, or 24 comm.Ray objects from the transmitter. Now, despite this, the MATLAB documentation specifies something completely different, which is the number of rays spawned are default with the values of the angular separation. Once again, if I know the above then this confusion would't exist anymore. I would be able to run any simulation, and know exactly how many rays the transmitter emitted and how many of them were received, and whether or not I can increase or decrease the number of spawned/emitted rays on my own, so I can play around with other parameters without being limited in terms of the total number of rays I can play around with and visualize.
Whoever reads this, thanks a lot because I know for a fact this is tedious to even understand lol.

Answers (0)

Categories

Find more on Propagation and Channel Models 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!