Matrix inverse with qr resolution?
Show older comments
Hi! Would somebody be able to help? How do I get matrix inverse with QR resolution?
Answers (1)
Bruno Luong
on 21 Oct 2018
>> A=rand(3)
A =
0.7026 0.9489 0.4899
0.7449 0.0949 0.3332
0.5794 0.9151 0.8583
It doesn't look like but this is actually QR resolution:
>> A\eye(length(A))
ans =
0.8168 1.3388 -0.9859
1.6320 -1.1671 -0.4786
-2.2913 0.3405 2.3407
Check
>> inv(A)
ans =
0.8168 1.3388 -0.9859
1.6320 -1.1671 -0.4786
-2.2913 0.3405 2.3407
>>
2 Comments
Palinkas Mark
on 21 Oct 2018
Edited: Palinkas Mark
on 21 Oct 2018
Bruno Luong
on 21 Oct 2018
Edited: Bruno Luong
on 21 Oct 2018
Then it's a homework, so you have to start with something on your own first.
Categories
Find more on Gaussian Process Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!