Main Content

getNumElements

Number of elements on rectangular Reconfigurable Intelligent Surface (RIS)

Since R2025a

    Description

    N = getNumElements(ris) returns the number of elements on the RIS, ris.

    example

    Examples

    collapse all

    This example obtains the number of elements on a 20-by-30 rectangular Reconfigurable Intelligent Surface (RIS) operating at 300 MHz. Elements are spaced one-half wavelength apart.

    fc = 300e6;
    c = physconst("LightSpeed");
    lambda = c/fc;
    d = 0.5*lambda;
    ris = phased.RectangularRIS( ...
        UnitCell=phased.CosineAntennaElement(CosinePower=2), ...
        Size=[20 30],Spacing=[d,d]);
    n = getNumElements(ris)
    n = 
    600
    

    Input Arguments

    collapse all

    Reconfigurable intelligent surface, specified as a phased.RectangularRIS System object™

    Output Arguments

    collapse all

    Number of elements on rectangular RIS surface, returned as a positive integer.

    Version History

    Introduced in R2025a