Borrar filtros
Borrar filtros

Matrix with random integer and defined rank

1 visualización (últimos 30 días)
Chanchal Sadhu
Chanchal Sadhu el 7 de Mayo de 2015
Respondida: David Hill el 24 de Mzo. de 2022
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 Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by