Creating Matrix provided elements
이전 댓글 표시
From a Hermititan (complex skew symmetric) matrix of order N (Asssume N=15) a column vector is created such that all the diagonal elements are placed first and then the ordered pair of real and imaginary parts of upper triangle matrix are placed next. Since it is hermitian matrix the upper and lower triangle elements have same set of real and imaginary elements.
For example for N=15x15 matrix the vector looks like this
[D1, D2, D3,...........,D15, R11, I11,R12, I12,.... ,R15, I15] in total 225 elements column vector.
How to construct back the matrix given this vector?
댓글 수: 4
Image Analyst
2021년 7월 23일
Did you experiment around with the real(), imag(), eye(), tril(), and triu() functions? If not, why not? That's what I'd do.
Chunru
2021년 7월 23일
For Hermitian matrix, the following are independent variables:
[D1, D2, ... D15, R1_2, I1_2, ..., R1_15, I1_15, R2_3, I2_3, ... R2_15, I2_15, ....]
Try to get the input corrrect before next step.
Jan
2021년 7월 23일
What is R1_2 compared to L1_2? Should it be L2_1? If it is a hermitian matrix, why are the L elements stored?
Please explain exactly, what the inputs are. Use a 4x4 matrix to avoid the need to use unclear abbreviations.
Karthik Nagaraj
2021년 7월 23일
편집: Karthik Nagaraj
2021년 7월 23일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Linear Algebra에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!