Extract value based on degree and order of spherical harmonic in triangular (upper and lower) matrix

2 次查看(过去 30 天)
Hello,
I have a matrix A [61x61] where the upper triangular matrix consist of sine coefficient of spherical harmonic for degree (column) and order (row) up to 60. Meanwhile the lower triangular matrix is the value of cosine coefficient for the same number of degree (row) and order (column).
How do I extract the value based on certain degree and order of sine or cosine coefficient?
Thank you.
  2 个评论
KALYAN ACHARJYA
KALYAN ACHARJYA 2020-12-2
"How do I extract the value based on certain degree and order of sine or cosine coefficient?"
The "A" matrix having 61x61
For sin Coeffcients, row must be less than columns
A(rows_number,columns); %Here rows_number<columns
For cosine Coeffcients, row must be greater than columns
A(rows_number,columns); %Here rows_number>columns
Hope I undestood the question correctly. If not, can you clarify more?
Adilla Zulkifli
Adilla Zulkifli 2020-12-2
编辑:Adilla Zulkifli 2020-12-2
For sine coefficients, the value for the upper triangular matrix starts from row 1-60, column 2-61. Meanwhile for cosine coefficients at lower triangular matrix the value starts from row 1-61, column 1-61. This is because for sine coefficient, the 0 degree and order has 0 value. Did you get the picture of the matrix form for sine and cosine coefficients?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Phased Array Design and Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by