Matrix with random integer and defined rank

How can I create a matrix with random integer and defined rank?

Respuestas (1)

David Hill
David Hill el 24 de Mzo. de 2022
r=1;
while r~=2%desired rank
M=randi(100,3);
r=rank(M);
end

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 7 de Mayo de 2015

Respondida:

el 24 de Mzo. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by