summaryrefslogtreecommitdiff
path: root/27/CH5/EX5.2.1/Example_5_2_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /27/CH5/EX5.2.1/Example_5_2_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '27/CH5/EX5.2.1/Example_5_2_1.sce')
-rwxr-xr-x27/CH5/EX5.2.1/Example_5_2_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/27/CH5/EX5.2.1/Example_5_2_1.sce b/27/CH5/EX5.2.1/Example_5_2_1.sce
new file mode 100755
index 000000000..c0d8245f0
--- /dev/null
+++ b/27/CH5/EX5.2.1/Example_5_2_1.sce
@@ -0,0 +1,16 @@
+clear;
+clc;
+close;
+
+//Get the corresponding matrix equation.
+
+A = [1 1;4 -2]
+
+[R,E]=spec(A)
+
+//where E corresponds to eigen values
+//And R corresponds to eigen vectors.
+
+//Note that 0.9701425 = -4*0.2425356
+//And we can assume 0.7071068 to be 1.
+