태그 : matrix 요약보기전체보기목록닫기

1

PYTHON - matrix 관련

from Numeric import  *#from LinearAlgebra import *> a = zeros((2,2))> print a[[0 0] [0 0]]# zeros(2,2),'d')를 하면 0이 아니라 0.으로 나옵니다.> aa = zeros(2)> print aa[0 0]> b = a + 1>...

MATLAB - matrix

ㅁ MATRIX 합치기>> A = [1 2 3 ; 0 1 2 ; -1 0 1]A =     1     2     3     0     1  &nbs...

MATLAB - Simple Matrix Calculations

>> A = [1 3 ; 3 2]A = 1 3 3 2>> B = inv(A)B = -0.2857 0.4286 0.4286 -0.1429>> B = expm(A)B = 39.3228 46.1663 46.1663 54.7116>> det(A)ans = -7>> eig(A)ans = -1....
1