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
답변 (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!


