赞
踩
1. 提取矩阵的对角线元素
diag(A)
diag(A,k)
diag(V,k)
triu(A) tril(A)
triu(A,k) tril(A)
rot90(A,k)
fliplr(A)
fliud(A)
如果AB = BA = E,则称二者互为对方的逆矩阵
inv(A)