image thumbnail

2D Multiwall model

version 1.5.0.0 (6.01 KB) by Sebastien PARIS
A fast implementation of the Multiwall model

3.6K Downloads

Updated 28 Jan 2020

View License

Compute 2D - MultiWall model

Usage
------

rs_amp = multiwall_model(TXpoint , RXpoint , walls , material , [L0] , [n]);


Inputs
-------

TXpoint Transmitter points (2 x Nt)
RXpoint Receiver points (2 x Nr)
walls Walls (4 x nwall) where [xi,0 ; yi,0 ; xi,1 ; yi,1] are coordinates of the i'th wall, i = 1,...,nwall.
material Material (2 x nwall) where [typei ; ni] reprensents type of wall and associated attenuation index, i = 1,...,nwall.
L0 Reference loss value at 1m (L0 = 40.2 default)
n Power decay factor (n = 2 default)

Outputs
-------
rs_amp Total power (Nt x Nr)

Compilation instruction : Please run mexme_multiwall_model
------------------------------

Run mexme_multiwall_model for compile the mex file (please be sure that mex -setup is ok on your platform).

Run test_multiwall_model for demo.

Please open multiwall_model.c for other examples

Cite As

Sebastien PARIS (2021). 2D Multiwall model (https://www.mathworks.com/matlabcentral/fileexchange/20209-2d-multiwall-model), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!