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 Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by