Octave 线性代数 行列式 1

symbolic

这个包可以支持符号运算

>> pkg install -forge symbolic
>> pkg load symbolic

这样就可以用了 以后开 还是要load

>> pkg load symbolic
>> syms a b c d
OctSymPy v2.3.0: this is free software without warranty, see sourc
e.
Initializing communication with SymPy using a popen2() pipe.
Detected Windows: using "winwrapy.bat" to workaround Octave bug #4
3036
Some output from the Python subprocess (pid 4936) might appear nex
t.

OctSymPy: Communication established.  SymPy v1.0.
Python 2.7.11 |Anaconda 4.0.0 (64-bit)| (default, Feb 16 2016, 09:
58:36) [MSC v.1500 64 bit (AMD64)]
>> A = [a b c d;a d c b;c d a b;c b a d]
A = (sym 4x4 matrix)

  [a  b  c  d]
  [          ]
  [a  d  c  b]
  [          ]
  [c  d  a  b]
  [          ]
  [c  b  a  d]

>> det(A)
ans = (sym) 0
>> A(3,:) = A(1,:) + A(3,:)
A = (sym 4x4 matrix)

  [  a      b      c      d  ]
  [                          ]
  [  a      d      c      b  ]
  [                          ]
  [a + c  b + d  a + c  b + d]
  [                          ]
  [  c      b      a      d  ]

>> A(4,:) = A(2,:) + A(4,:)
A = (sym 4x4 matrix)

  [  a      b      c      d  ]
  [                          ]
  [  a      d      c      b  ]
  [                          ]
  [a + c  b + d  a + c  b + d]
  [                          ]
  [a + c  b + d  a + c  b + d]

行列式性质

任意两行 两列相等 则 行列式 = 0

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值