aboutsummaryrefslogtreecommitdiffstats
path: root/vorlesungen/slides/5/verzerrung
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2021-03-21 20:37:06 +0100
committerAndreas Müller <andreas.mueller@ost.ch>2021-03-21 20:37:06 +0100
commite2737868b67b183152c4436ececf12e68b5a145b (patch)
tree03af349bea5408ade25811bf456f3d13b3f258ea /vorlesungen/slides/5/verzerrung
parentJK bilder (diff)
downloadSeminarMatrizen-e2737868b67b183152c4436ececf12e68b5a145b.tar.gz
SeminarMatrizen-e2737868b67b183152c4436ececf12e68b5a145b.zip
new slides
Diffstat (limited to 'vorlesungen/slides/5/verzerrung')
-rw-r--r--vorlesungen/slides/5/verzerrung/verzerrung.m13
1 files changed, 13 insertions, 0 deletions
diff --git a/vorlesungen/slides/5/verzerrung/verzerrung.m b/vorlesungen/slides/5/verzerrung/verzerrung.m
new file mode 100644
index 0000000..028e7f9
--- /dev/null
+++ b/vorlesungen/slides/5/verzerrung/verzerrung.m
@@ -0,0 +1,13 @@
+#
+# verzerrung.m
+#
+# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
+#
+
+rand("seed", 4712);
+
+A = eye(2) + 1.0 * (rand(2,2) - 0.5 * ones(2,2))
+
+[V, lambda] = eig(A)
+
+B = A - lambda(1,1) * eye(2)