Wideband LOS channel block - propagate to multiple destinations
2 次查看（过去 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 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.