aboutsummaryrefslogtreecommitdiffstats
path: root/math2373/lab2.txt
diff options
context:
space:
mode:
Diffstat (limited to 'math2373/lab2.txt')
-rw-r--r--math2373/lab2.txt60
1 files changed, 1 insertions, 59 deletions
diff --git a/math2373/lab2.txt b/math2373/lab2.txt
index dbd27c5..689a36b 100644
--- a/math2373/lab2.txt
+++ b/math2373/lab2.txt
@@ -9,14 +9,6 @@ A =
3 -8 1 0 29
-Aog=A
-
-Aog =
-
- 2 -1 4 -5 19
- -1 3 -2 -1 -18
- 0 1 5 -6 12
- 3 -8 1 0 29
A(1,:)=A(1,:)+A(2,:)
@@ -27,50 +19,6 @@ A =
0 1 5 -6 12
3 -8 1 0 29
-A(2,:)=A(1,:)+A(1,:)
-
-A =
-
- 1 2 2 -6 1
- 2 4 4 -12 2
- 0 1 5 -6 12
- 3 -8 1 0 29
-
-A(2,:)=A(1,:)-A(1,:)
-
-A =
-
- 1 2 2 -6 1
- 0 0 0 0 0
- 0 1 5 -6 12
- 3 -8 1 0 29
-
-A(2,:)=A(1,:)-A(1,:)
-
-A =
-
- 1 2 2 -6 1
- 0 0 0 0 0
- 0 1 5 -6 12
- 3 -8 1 0 29
-
-A=Aog
-
-A =
-
- 2 -1 4 -5 19
- -1 3 -2 -1 -18
- 0 1 5 -6 12
- 3 -8 1 0 29
-
-A(1,:)=A(1,:)+A(2,:)
-
-A =
-
- 1 2 2 -6 1
- -1 3 -2 -1 -18
- 0 1 5 -6 12
- 3 -8 1 0 29
A(2,:)=A(2,:)+A(1,:)
@@ -108,13 +56,7 @@ A =
0 0 -25 23 -77
0 -14 -5 18 26
-A(4,:)=A(2,:)1*4*A(2,:)
- A(4,:)=A(2,:)1*4*A(2,:)
- ↑
-{Error: Invalid expression. Check for missing multiplication operator, missing or
-unbalanced delimiters, or other syntax error. To construct matrices, use brackets
-instead of parentheses.
-}
+
A(4,:)=A(2,:)+14*A(2,:)
A =