Hello! Your code is great! This is sufficient for DOA estimation of linear array. But I am currently studying the 2d-music algorithm of rectangular array. Have you started to study and use it? At present, the angle range of elevation angle is [0,90], and the azimuth angle range is [- 180180]. I don't understand how to deal with these angles in music-2d algorithm? Thank you for your answer