For this questionenter image description here
I know something the usage about “diag” function, when n increases, does the matrix looks like a diagonal matrix that other pivots fill with zeros? Does this matrix can be constructed by simply calling the "diag" function?