How to randomly construct a square (1000*1000) full-ranked matrix with low determinant?
I have tried the following method, but it failed.
In MATLAB, I just use:
n=100;
A=randi([0 1], n, n);
while rank(A)~=n
A=randi([0 1], n, n);
end
The above code generates a random binary matrix, with the hope that the corresponding determinant can be small.
However, the determinant is usually about 10^49, a huge number.
Not to mention when n>200, the determinant is usually overflowed in MATLAB.
Could anyone have comments how I can generate matrix (could be non-binary) with very low determinant (e.g. <10^3)?