I have a matrix q and i need the diagonal of qq'
    9 ビュー (過去 30 日間)
  
       古いコメントを表示
    
I have a 5x5 matrix q and i need to obtain the diagonal of qq' anyone know how to do this and what qq' is?
0 件のコメント
採用された回答
  Dr. Seis
      
 2012 年 2 月 8 日
        In your Help Navigator, search for "arithmetic operators" and "diag"
diag(q*q')
is the same as
diag(q*transpose(q))
if all of the elements in q are real. Otherwise ' will give you the complex-conjugate transpose.
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
				Help Center および File Exchange で Operating on Diagonal Matrices についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


