Collector for array formed of replicated subararrays

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.

1 Commento

Hi I'm facing the same problem Can you kindly show your radiator part for subarray . It would be of great help for my thesis Thanks in advance.

Accedi per commentare.

 Risposta accettata

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.
HTH

3 Commenti

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.
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)
HTH
Thanks a lot, that works!

Accedi per commentare.

Più risposte (0)

Prodotti

Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by