線性代數›Ch2 行列式第 16 題/共 18 題
16. Determinant、Eigenvalues
#LA-02-016中DeterminantEigenvalues
For the following Matlab code:
a=11; %Set 'a' as the number of rows/cols. in a square matrix A
A=ones(a,a); %Set A as an 11x11 all-one matrix (All the elements are 1)
for m=1:a
A(m,m)=0.9; %Set all the elements on the main diagonal of A as 0.9
end
d=det(A); %Calculate the determinant of A
c=abs(d*(10^a)+7); %Adjust the value, and abs(.) is the absolute-value func.
answer=mod(c,5); %mod(.) is the modulo operation
What is the value of "answer"?
📄 中央112
▤完整推導請見《WH 資工筆記 · 線性代數》Ch2 行列式