QR decomposition for 8x8 matrix

Version 1.0.0 (117 KB) by Lin Bai
QR decomposition for 8x8 matrix using Givens rotation
72 Downloads
Updated 10 Jan 2019

View License

QR decomposition for 8x8 matrix, this model is used for Homography Estimation in RANSAC.
4 point pairs are randomly selected and then formed the matrix in the following way.
A =
ax1, ay1, 1, 0, 0, 0, -ax1*bx1, -ay1*bx1;
ax2, ay2, 1, 0, 0, 0, -ax2*bx2, -ay2*bx2;
ax3, ay3, 1, 0, 0, 0, -ax3*bx3, -ay3*bx3;
0, 0, 0, ax1, ay1, -1, -ax1*by1, -ay1*by1;
0, 0, 0, ax2, ay2, -1, -ax2*by2, -ay2*by2;
0, 0, 0, ax3, ay3, -1, -ax3*by3, -ay3*by3;
ax4, ay4, 1, 0, 0, 0, -ax4*bx4, -ay4*bx4;

One could easily modify it into general purpose 8x8 matrix QR decomposition.

After running the simulink model, the error is calculated by Q*R-Matrix. One could check it.

Cite As

Lin Bai (2024). QR decomposition for 8x8 matrix (https://www.mathworks.com/matlabcentral/fileexchange/69954-qr-decomposition-for-8x8-matrix), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Matrix Decomposition in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0