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

2 vues (au cours des 30 derniers jours)
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 commentaires
KALYAN ACHARJYA
KALYAN ACHARJYA le 2 Déc 2020
"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 le 2 Déc 2020
Modifié(e) : Adilla Zulkifli le 2 Déc 2020
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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Phased Array Design and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by