find jordan canonical form of a matrix
조회 수: 15 (최근 30일)
이전 댓글 표시
if true
% code
end
N = 33;
W = zeros(N,N);
for i=1:N
for j = 1:N
if(i ~= j)
if(round(rand - 0.1))
W(i,j) = round(5*rand);
end
end
end
end
[V J] = jordan(W);
답변 (1개)
KALYAN ACHARJYA
2019년 11월 18일
편집: KALYAN ACHARJYA
2019년 11월 18일
J=jordan(A); % where A is Given Matrix
Or In your code J represents the same
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!