MATLAB Assignment on Eigen Values, Assignments of Mathematics for Computing

How to use MATLAB to Calculate Eigen Values

Typology: Assignments

2019/2020

Uploaded on 04/23/2020

rifat_2460
rifat_2460 🇦🇪

1 document

1 / 9

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
MATLAB Assignment
2019-2020
Finding Eigen Values and Eigen Vectors of a Matrix
Prepared By:
Rifat Ibrahim (2019A7PS0069U)
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download MATLAB Assignment on Eigen Values and more Assignments Mathematics for Computing in PDF only on Docsity!

MATLAB Assignment

Finding Eigen Values and Eigen Vectors of a Matrix

Prepared By:

Rifat Ibrahim (2019A7PS0069U)

Acknowledgement

I express my sincere and heartfelt gratitude to Dr. K.K Kumar, for giving

me an opportunity to learn about MATLAB and its capabilities. His

constant effort was truly reflected in the learning opportunities that

were presented to me.

This assignment truly helped me in learning new ways to solve a given

problem in Eigen values and Eigen vectors. I was able to solve the

question quickly and efficiently.

Theory

MATLAB:

MATLAB (matrix laboratory) is a multi-paradigm numerical computing environment and proprietary programming language developed by Math Works. MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages, including C, C++, C#, Java, Fortran and Python. MATLAB integrates computation, visualization, and programming in an easy to-use environment where problems and solutions are expressed in familiar mathematical notation. Typical uses include:

  • Algorithm development
  • Modeling, simulation, and prototyping
  • Data analysis, exploration, and visualization
  • Scientific and engineering graphics
  • Application development, including Graphical User Interface building

Eigen values & Eigen Vectors:

A Scalar λ is called an Eigenvalue of the N x N Matrix A is there is a Nontrivial Solution Such an X is called an Eigenvector corresponding to the Eigenvalue λ. Geometrically, an Eigenvector, corresponding to a real nonzero Eigenvalue, points in a direction that is stretched by the transformation and the Eigenvalue is the factor by which it is stretched. If the Eigenvalue is negative, the direction is reversed.

Procedural Coding

Q.) Find the Eigen Values and Eigen Vectors of the given Matrices:

a) A = 8 8 2 4 3 2 3 4 1

Solution:

Step 1: Making the matrix and naming it. Step 2: Finding the Eigen values using the function eig(). Step 3: Finding the Eigen Vectors:

b) A =

Solution:

Step 1: Making the matrix and naming it. Step 2: Finding the Eigen values using the function eig(). Step 3: Finding the Eigen Vectors:

Step 4: Separating the Vectors and Normalizing them:

Answer: Eigen Values: (0.58579,2.00000,3.41421) Corresponding Eigen Vectors: [(1, 1 .4 1421 , 1 ), (1, 4.415 * 10-^16 , - 1 ), (1, 1.4142, 1 )]