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
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!