QR Factorization of a 10 x 10 Matrix

1 view (last 30 days)
Muhammad Abdullah
Muhammad Abdullah on 20 Dec 2011
I need to Solve a 10 x 10 Matrix using QR factorization. please Write a MATLAB program for calculating the QR factorization of any 10 × 10 matrix.

Answers (1)

Jan
Jan on 20 Dec 2011
X = rand(10, 10);
[Q, R] = qr(X);
  4 Comments
Walter Roberson
Walter Roberson on 20 Dec 2011
Does it "solve" char(eye(10)) ?
Jan
Jan on 20 Dec 2011
Yes. As usual in mathematics, the canny addition of a zero allows a solution:
[Q, R] = qr(char(eye(10)) + 0)

Sign in to comment.

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!