Clear Filters
Clear Filters

qr関数のアルゴリズムを教えてください。

4 views (last 30 days)
翔
on 16 May 2024
Answered: on 17 May 2024
pythonとMATLABでQR分解結果を比較すると一致せず困っています。
そこでMATLABにあるqr関数のアルゴリズムを教えていただけますでしょうか。
  1 Comment
Kenjiro Sugimoto
Kenjiro Sugimoto on 17 May 2024
念のため確認させてください。その分解対象の行列は正則でしょうか? 正則行列であればQR分解の結果は一意に定まるようです(ただし要素の符号を揃える操作が必要)が、そうでない場合は一意でないため計算結果が一致しないほうが自然に思えます。

Sign in to comment.

Answers (1)

翔
on 17 May 2024
ご返答ありがとうございます。また参考資料の共有ありがとうございます。
対象の行列は非正方行列となります。
なるほど!それで一致しなかったということでしたか!ありがとうございます勉強になります!

Categories

Find more on Matrix Decomposition 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!