| Description |
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 |