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

3 visualizaciones (últimos 30 días)
Jeanne Pulvermüller
Jeanne Pulvermüller el 18 de Dic. de 2020
Comentada: Rik el 18 de Dic. de 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 )

Respuestas (1)

Doddy Kastanya
Doddy Kastanya el 18 de Dic. de 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.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by