Skip to contents

This function initializes a projection matrix for use in the MUSIC algorithm.

Usage

seasonder_MUSICInitProjections(bearings = 0)

Arguments

bearings

A numeric vector representing the bearings (in degrees) for which projections are initialized. Defaults to 0.

Value

A 2 x n matrix of complex values, each initialized to NA_complex_, with row names "single" and "dual". The input bearings are stored as an attribute.

Details

The function creates a 2 x n complex matrix, where n is the number of bearings. The matrix rows are labeled:

  • "single": For single projections.

  • "dual": For dual projections.

An attribute "bearings" is attached to the matrix, storing the input bearings vector.

See also

seasonder_MUSICInitCov for initializing covariance matrices.