Startup Execution: Loading Initial Environment
Startup Execution: Loading Initial Environment
Startup Execution: Loading Initial Environment
-->B=[-2;1;1];
-->rank([A B])
ans =
3.
-->D=[4;3;6];
-->rank([C D])
ans =
3.
-->rref([C D])
ans =
1. 0. 0. 2.
0. 1. 0. 1.
0. 0. 1. 1.
-->rref([A B])
ans =
1. 0. 0. - 1.
0. 1. 0. - 1.
0. 0. 1. 2.
-->F=[13;13;25;6];
-->linsolve(A,-B)
ans =
- 1.
- 1.
2.
-->linsolve(E,-F)
ans =
1.
- 1.
1.
2.
-->linsolve(C,-D)
ans =
2.
1.
1.
-->H=[3;1;2;4];
-->linsolve(G,-H)
ans =
[]
-->rank([G H])
ans =
4.
-->G/h
!--error 4
Undefined variable: h
-->G/H
!--error 266
-->linsolve(I,-H)
ans =
[]
G =
1. 1. 1.
2. - 1. 3.
4. 1. 5.
3. - 2. 1.
-->H=[3;1;2;4]
H =
3.
1.
2.
4.
-->G/H
!--error 266
-->G\H
ans =
2.0151515
0.4545455
- 1.1363636
A =
0. 0. 0. 1.
0. 0. 1. 2.
0. 1. 2. 3.
1. 2. 3. 4.
M =
0. 0. 0. 1.
0. 0. 1. 2.
0. 1. 2. 3.
1. 2. 3. 4.
-->x=poly(0,'x')
x =
-->p=det(x*eye(4,4)-M)
p =
2 3 4
1 + 2x - 7x - 6x + x
-->roots(p)
ans =
6.9613208
- 1.1216783
0.4469163
- 0.2865588
N =
3. 1. 3.
3. 4. 0.
1. 4. 2.
-->[v,e]=spec(M)
e =
- 1.1216783 0. 0. 0.
0. - 0.2865588 0. 0.
0. 0. 0.4469163 0.
0. 0. 0. 6.9613208
v =
-->x=poly(0,'x')
x =
-->p=det(x*eye(3,3)-N)
p =
2 3
- 42 + 20x - 9x + x
-->roots(p)
ans =
7.
1. + 2.236068i
1. - 2.236068i
-->[v,e]=spec(N)
e =
7. 0 0
0 1. + 2.236068i 0
0 0 1. - 2.236068i
v =
O =
2. 0. 3.
0. 2. 0.
0. 0. 2.
-->x=poly(0,'x')
x =
-->p=det(x*eye(3,3)-O)
p =
2 3
- 8 + 12x - 6x + x
-->roots(p)
ans =
2.0000132
1.9999934 + 0.0000114i
1.9999934 - 0.0000114i
-->[v,e]=spec(O)
e =
2. 0 0
0 2. 0
0 0 2.
v =
1. 0 - 1.
0 1. 0
0 0 1.480D-16
J =
1. 0. 3.
1. 2. 1.
0. 0. 2.
-->x=poly(o,'x')
!--error 4
Undefined variable: o
-->x=poly(0,'x')
x =
-->p=det(x*eye(3,3)-J)
p =
2 3
- 4 + 8x - 5x + x
-->roots(p)
ans =
2.
2.
1.
-->[v,e]=spec(J)
e =
2. 0 0
0 1. 0
0 0 2.
v =
0 0.7071068 3.331D-16
1. - 0.7071068 - 1.
0 0 1.110D-16