Wideband LOS channel block - propagate to multiple destinations

1 view (last 30 days)
The Wideband LOS channel block mentions that it can propagate one point in space to multiple points or from multiple points back to one point via line-of-sight (LOS) channels. I want to propagate a signal from one location to 8 locations - so I set the Pos2 and Vel2 ports to be 3x8 arrays, assuming it will give a matrix of the propagated signals at the output port. But it instead causes an error :
'Expected input Pos2 to be of size [3 1] when it is actually size [3 8]'
How do you propagate one signal to multiple locations? Is using multiple copies of the same block the only way?

Accepted Answer

Honglei Chen
Honglei Chen on 11 May 2020
Could you share how you invoked the block? My guess is your signal is a single column vector while the block is expecting a matrix with 8 columns so each column is sent to a location. If that's the case, you can add a block to replicate the signal to a matrix if your intention is to send the same signal to all locations. Meanwhile we'll try to enhance the block so it knows how to handle this situation.
HTH
  2 Comments
Honglei Chen
Honglei Chen on 12 May 2020
Thanks for the suggestion on documentation, I'll work with our documentation team to improve it.

Sign in to comment.

More Answers (1)

majd abdullah
majd abdullah on 10 Dec 2020
you should to add (duplicate columns) block befor (free space channel) block
and in (duplicate columns) block add array from 8 elements

Community Treasure Hunt

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

Start Hunting!