Number of elements in antenna array
Download Required: To use getNumElements, first download Communications Toolbox™ Library for the Bluetooth® Protocol. For more information, see Get and Manage Add-Ons. Alternatively, see Communications Toolbox Library for the Bluetooth Protocol File Exchange.
Create a BLE angle estimation configuration object, specifying a 2-by-3 URA.
cfg = bleAngleEstimateConfig('ArraySize',[2 3])
cfg = bleAngleEstimateConfig with properties: ArraySize: [2 3] ElementSpacing: 0.5000 SlotDuration: 2 SwitchingPattern: [1 2 3 4] Read-only properties: No properties.
Return the number of elements in the antenna array.
N = getNumElements(cfg)
N = 6
numElements— Number of elements in antenna array
Number of elements in the antenna array, returned as a positive integer. If the
SlotDuration property of the
cfg input is 2
μs, the value of this output is in the range [2, 38]. If the
SlotDuration property is 1 μs, the value of this output is in the
range [2, 75].
 Bluetooth Technology Website. “Bluetooth Technology Website | The Official Website of Bluetooth Technology.” Accessed November 22, 2019. https://www.bluetooth.com/.
 Bluetooth Special Interest Group (SIG). "Bluetooth Core Specification." Version 5.1. https://www.bluetooth.com/.
 Wooley, Martin. Bluetooth Direction Finding: A Technical Overview. Bluetooth Special Interest Group (SIG), Accessed April 6, 2020, https://www.bluetooth.com/.