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

2 次查看(过去 30 天)
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 个)

Doddy Kastanya
Doddy Kastanya 2020-12-18
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.

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by