MATLAB: Collector for array formed of replicated subararrays

collectorPhased Array System Toolboxradiatorreplicated subarrays

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.

Best Answer

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