Filter löschen
Filter löschen

random matrix full rank

2 Ansichten (letzte 30 Tage)
massimiliano frasca
massimiliano frasca am 12 Nov. 2019
how can I generate a random matrix of this type (see photo) with the condition that it is full rank?
Cattura.PNG

Akzeptierte Antwort

Stijn Haenen
Stijn Haenen am 12 Nov. 2019
Hi,
Try this one:
T=6;
a=rand(T);
m=tril(a,-1);
matrix=m+m'+eye(T).*rand(T);
  1 Kommentar
massimiliano frasca
massimiliano frasca am 13 Nov. 2019
thanks a lot! now I should collect the element form z(0) to z(T-1) in an array.
for example, if T=5, V=[z(0) z(1) z(2) z(3) z(4)
How can I do this?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by