diff options
author | LordMcFungus <mceagle117@gmail.com> | 2021-03-22 18:05:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 18:05:11 +0100 |
commit | 76d2d77ddb2bed6b7c6b8ec56648d85da4103ab7 (patch) | |
tree | 11b2d41955ee4bfa0ae5873307c143f6b4d55d26 /vorlesungen/slides/5/verzerrung | |
parent | more chapter structure (diff) | |
parent | add title image (diff) | |
download | SeminarMatrizen-76d2d77ddb2bed6b7c6b8ec56648d85da4103ab7.tar.gz SeminarMatrizen-76d2d77ddb2bed6b7c6b8ec56648d85da4103ab7.zip |
Merge pull request #1 from AndreasFMueller/master
update
Diffstat (limited to 'vorlesungen/slides/5/verzerrung')
-rw-r--r-- | vorlesungen/slides/5/verzerrung/verzerrung.m | 13 |
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) |