find jordan canonical form of a matrix

조회 수: 15 (최근 30일)
Ajay Singh
Ajay Singh 2019년 11월 18일
편집: KALYAN ACHARJYA 2019년 11월 18일
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
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

카테고리

Help CenterFile Exchange에서 Language Fundamentals에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by