How can I do this operation fast and simply?

1 Ansicht (letzte 30 Tage)
Sinwoo Jeong
Sinwoo Jeong am 31 Okt. 2018
Kommentiert: Stephen23 am 31 Okt. 2018
I have a matrix [M], [N] having the shapes as in the image I've referred.
What I want to get is a matrix [P] (in the image).
I've found that [P] can be obtained by diagonalizing the matrix [N] like [N]* and multiplying it with the matrix [M].
However, it takes a lot of time and memory for diagonalizing the matrix [N] like [N]*.
Do we have a special MATLAB operator to get a matrix [P] in my example?
  2 Kommentare
Matt J
Matt J am 31 Okt. 2018
You have lots of [] and {} notation in your post that is unclear. Are [A], [B], [C],... matrices? What are {a},{b},{c},....
Stephen23
Stephen23 am 31 Okt. 2018
"How can I do this operation fast and simply?"
Probably one simple loop with a preallocated output.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Matt J
Matt J am 31 Okt. 2018
  2 Kommentare
Sinwoo Jeong
Sinwoo Jeong am 31 Okt. 2018
Thank you for your comment. But, kron does not give me a correct answer. It gives me something but the size of the matrix is wrong. I think I need to study it more.
Guillaume
Guillaume am 31 Okt. 2018
What you need to do is be a lot clearer about what you want. Your invented notation is not. A numerical example would be useful.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by