MATLAB Answers

Collector for array formed of replicated subararrays

조회 수: 3(최근 30일)
Katia 18 Feb 2020
댓글: Katia 20 Feb 2020
I'm trying to use the Collector object with an array formed of replicated subarrays, but I keep receiving messages of 'not enough inputs'; that is:
collector = phased.Collector('Sensor',array,'OperatingFrequency',fc);
rxData = collector(sig,targetAngle);
'Not enough input arguments. Expected 3, got 2.'
Could someone please help me with that? What other inputs are necessary?
Another question regarding either the Collector or Radiator objects, do they take into account the antenna gain at the designated angle of the specified sensor when simulating the transmitting/received signal?
Thanks in advance.

  댓글 수: 0

로그인 to comment.

채택된 답변

Honglei Chen
Honglei Chen 18 Feb 2020
They do consider the gain at different angles.
As to the input, you may want to check with your setting in array. Did you turn on steering in the replicated subarray? if so, you need to pass in the steering information to the function call.

  댓글 수: 3

Katia 19 Feb 2020
Thanks for the fast reply.
Yes, I did set the steering in the replicated array. This is what I have:
array =
phased.ReplicatedSubarray with properties:
Subarray: [1×1 phased.URA]
Layout: 'Rectangular'
GridSize: [6 1]
GridSpacing: [0.6000 1]
SubarraySteering: 'Phase'
PhaseShifterFrequency: 1.2600e+09
NumPhaseShifterBits: 0
ws = steeringvec(fc,targetAngle);
rx = collector(sig,targetAngle,ws);
rx = collector(sig,targetAngle,ws);
Error using phased.Collector/parenReference
Not enough input arguments. Expected 4 (in addition to System object), got 3.
Honglei Chen
Honglei Chen 19 Feb 2020
Since you turned on the steering, you also need to specify where you want to steer the elements to, you may want to try
rx = collector(sig,targetAngle,ws,targetAngle)
Katia 20 Feb 2020
Thanks a lot, that works!

로그인 to comment.

추가 답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.

Translated by