Main Content

getTaper

Array element tapers

Since R2021a

    Description

    example

    wts = getTaper(array) returns the tapers wts applied to each element of the phased array array. Tapers are often referred to as weights.

    Examples

    collapse all

    Construct a 5-element ULA with a Taylor window taper. Then, obtain the element taper values.

    taper = taylorwin(5)';
    array = phased.ULA(5,'Taper',taper);
    w = getTaper(array)
    w = 5×1
    
        0.5181
        1.2029
        1.5581
        1.2029
        0.5181
    
    

    Input Arguments

    collapse all

    Phased array, specified as a Phased Array System Toolbox™ System object.

    Output Arguments

    collapse all

    Array element tapers, returned as an N-by-1 complex-valued vector, where N is the number of elements in the array.

    Extended Capabilities

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Version History

    Introduced in R2021a