Wideband LOS channel block - propagate to multiple destinations

8 次查看(过去 30 天)
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?

采纳的回答

Honglei Chen
Honglei Chen 2020-5-11
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 个评论
Honglei Chen
Honglei Chen 2020-5-12
Thanks for the suggestion on documentation, I'll work with our documentation team to improve it.

请先登录,再进行评论。

更多回答(1 个)

majd abdullah
majd abdullah 2020-12-10
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!

Translated by