MATLAB: Random matrix full rank

random matrix

how can I generate a random matrix of this type (see photo) with the condition that it is full rank?
Cattura.PNG

Best Answer

Hi,
Try this one:
T=6;
a=rand(T);
m=tril(a,-1);
matrix=m+m'+eye(T).*rand(T);
Related Question