phased.freespace channel multiple targets

2 views (last 30 days)
Jimmy Chou
Jimmy Chou on 8 Dec 2019
Answered: Honglei Chen on 31 Dec 2019
I'm trying to simulate an environment with multiple target with phased.freespace channel. The signal I used is Linear FMCW signal. But i found this error:
Error using phased.FreeSpace/validateNumberOfPositionPairs (line 231)
Expected input Pos2 to be of size [3 1] when it is actually size [3 28].
Error in phased.internal.AbstractFreeSpace/validateInputsImpl (line 333)
validateNumberOfPositionPairs(obj,x,startLocSize,endLocSize);
Error in FMCWExample_multi_target (line 191)
txsig = channel(txsig,radar_pos,tgt_pos,radar_vel,tgt_vel);
Can anyone give me a hand?
  1 Comment
Maadhav Akula
Maadhav Akula on 13 Dec 2019
It would be helpful if you can share the code, which has caused this error.

Sign in to comment.

Answers (1)

Honglei Chen
Honglei Chen on 31 Dec 2019
What are dimensions of your inputs to the object? You may need to match the number of input signal to number or targets.
HTH

Community Treasure Hunt

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

Start Hunting!