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