phased.freespace channel multiple targets

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

Maadhav Akula
Maadhav Akula 2019년 12월 13일
It would be helpful if you can share the code, which has caused this error.

댓글을 달려면 로그인하십시오.

답변 (1개)

Honglei Chen
Honglei Chen 2019년 12월 31일

0 개 추천

What are dimensions of your inputs to the object? You may need to match the number of input signal to number or targets.
HTH

카테고리

도움말 센터File Exchange에서 Automotive Radar에 대해 자세히 알아보기

질문:

2019년 12월 8일

답변:

2019년 12월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by