If i have a given Matrix (k x k), how can i expand it to a (n x n) matrix?

1 vue (au cours des 30 derniers jours)
Jeanne Pulvermüller
Jeanne Pulvermüller le 18 Déc 2020
Commenté : Rik le 18 Déc 2020
I have to do a QR-decomposition of a Matrix A.
In my Code i have a matrix B (the dimensions are k x k) and i have work with a matrix C (the dimensions are n x n, while n >k)
The matrix C looks just like the identity matrix with the matrix B in the bottom right corner...
Can anyone help me how to write that?
(Sorry, neither my english nor my matlab skills are great :D )
  1 commentaire
Rik
Rik le 18 Déc 2020
Have a read here and here. It will greatly improve your chances of getting an answer.

Connectez-vous pour commenter.

Réponses (1)

Doddy Kastanya
Doddy Kastanya le 18 Déc 2020
It is not clear how the B and C matrices are related to A. However, if you just want to do QR decomposition, you might want to try "help qr" in MATLAB. It might have the information you need.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by