how to find roots of 10*5 matrix
    4 ビュー (過去 30 日間)
  
       古いコメントを表示
    
 To find roots of w is 
w=roots(w);
r-roots(w);
which is one better and accurate way??
2 件のコメント
  KSSV
      
      
 2020 年 6 月 8 日
				How you can you find roots of a matrix? roots gives you the roots of a polynomial. 
回答 (2 件)
  KSSV
      
      
 2020 年 6 月 8 日
        Let A be your 10*5 matrix. Where the coefficients are in rows 
[m,n] = size(A) ; 
r = zeros(m,n-1) ; 
for i = 1:m
r(i,:) = roots(A(i,:)) ;
end
  Ali
 2020 年 7 月 7 日
        2 件のコメント
  Rik
      
      
 2020 年 7 月 7 日
				You posted this as an answer, even though it isn't an answer. You also posted code as an image. Are you expecting others to type your code from the image?
Accept the answer by KSSV, post this as a comment, use the edit tools to paste the code as code, and then delete this answer.
参考
カテゴリ
				Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


