find jordan canonical form of a matrix

8 次查看(过去 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
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