find jordan canonical form of a matrix

15 visualizaciones (últimos 30 días)
Ajay Singh
Ajay Singh el 18 de Nov. de 2019
Editada: KALYAN ACHARJYA el 18 de Nov. de 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);

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 18 de Nov. de 2019
Editada: KALYAN ACHARJYA el 18 de Nov. de 2019
J=jordan(A); % where A is Given Matrix
Or In your code J represents the same

Categorías

Más información sobre Language Fundamentals en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by