From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 149/CH2/EX2.43/ex43.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 149/CH2/EX2.43/ex43.sce (limited to '149/CH2/EX2.43') diff --git a/149/CH2/EX2.43/ex43.sce b/149/CH2/EX2.43/ex43.sce new file mode 100755 index 000000000..276d63b07 --- /dev/null +++ b/149/CH2/EX2.43/ex43.sce @@ -0,0 +1,10 @@ +clear +clc +A=[1 1 3;1 5 1;3 1 1] +disp("let R represents the matrix of transformation and P represents a diagonal matrix whose values are the eigen values of A.then ") +[R P]=spec(A) +disp("R is normalised.let U represents unnormalised version of r ") +U(:,1)=R(:,1)*sqrt(2); +U(:,2)=R(:,2)*sqrt(3); +U(:,3)=R(:,3)*sqrt(6) +disp("three eigen vectors are the three columns of U") \ No newline at end of file -- cgit