How can I do this operation fast and simply?

1 vue (au cours des 30 derniers jours)
Sinwoo Jeong
Sinwoo Jeong le 31 Oct 2018
Commenté : Stephen23 le 31 Oct 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 commentaires
Matt J
Matt J le 31 Oct 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 le 31 Oct 2018
"How can I do this operation fast and simply?"
Probably one simple loop with a preallocated output.

Connectez-vous pour commenter.

Réponses (1)

Matt J
Matt J le 31 Oct 2018
  2 commentaires
Sinwoo Jeong
Sinwoo Jeong le 31 Oct 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 le 31 Oct 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Matrix Indexing 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