image thumbnail

3D Ray Tracing For Indoor Radio Propagation

version 20.1.0.0 (414 KB) by Salaheddin Hosseinzadeh
3D Ray Tracing To Estimate Signal Strength in Indoor Environment and Estimate Propagation Loss

2.2K Downloads

Updated 15 May 2019

View License

This is a 3D ray tracing algorithm for indoor radio propagation based on reflecting image method. This accounts for transmission, primary and secondary reflection of a wave(signal) through and off the walls(panels).
PLEASE USE "RayTracing3D_v02.m" TO RUN THE CODE.
Two examples are included to get you running. In the comments at the beginning of the file it's explained how it works and how to define the geometry or building. Make sure you have as few walls as you can to make the computation less cumbersome. There is no limit on the number of walls (or panels). You can even define windows if you want but have to change the current way the structure is defined (based on 2D model, explained in the code).

"RayTracing3D_v02.m" is only makes the variables and the parameters that needs to be passed to the "RayTracingEng_v02.m". You don't need to change the RayTracingEng_v02.m unless you want to change the algorithm.

You need all the other functions that are provided in the submission to run this. There are few additional tools in the folder "Additional Tools" that helps along further analysis of the generated signal strength map.

Feel free to contact if you've any questions.
All the best
Sal

Cite As

Salaheddin Hosseinzadeh (2021). 3D Ray Tracing For Indoor Radio Propagation (https://www.mathworks.com/matlabcentral/fileexchange/64695-3d-ray-tracing-for-indoor-radio-propagation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Image overlay, Bresenham optimized for Matlab

Community Treasure Hunt

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

Start Hunting!