find jordan canonical form of a matrix

15 vues (au cours des 30 derniers jours)
Ajay Singh
Ajay Singh le 18 Nov 2019
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);

Réponses (1)

KALYAN ACHARJYA
KALYAN ACHARJYA le 18 Nov 2019
Modifié(e) : KALYAN ACHARJYA le 18 Nov 2019
J=jordan(A); % where A is Given Matrix
Or In your code J represents the same

Catégories

En savoir plus sur Language Fundamentals dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by