2D Multiwall model

A fast implementation of the Multiwall model
3.7K 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 (2024). 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!
Version Published Release Notes
1.5.0.0

Cleaned for modern Matlab version

1.4.0.0

-Fix a typo bug introduced in the last update (thanks to Mickael)

1.3.0.0

-Cleanup code
-Add openMP support (to be compile with -DOMP directive and link with MKL)

1.2.0.0

A minor bug in a #define and add mexme_multiwall_model

1.1.0.0

-add mexme_multiwall_model, a better inputs description and some small speed-up

1.0.0.0

Some minor speedup