Matrix with random integer and defined rank
Mostrar comentarios más antiguos
How can I create a matrix with random integer and defined rank?
1 comentario
DB
el 24 de Mzo. de 2022
Hi, have you got an answer?
Respuestas (1)
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!