Use matalb to plot the computed eigenvector
Course:- MATLAB Programming
Reference No.:- EM131065099

Assignment Help
Assignment Help >> MATLAB Programming

Write a Matlab code implementing the inverse power method to compute approximations of the smallest eigenvalue λ1 = π2 of L and corresponding eigenfunctions. Use N = 500 and apply the algorithm to h-2TN. Start with a random initial guess, use normalization in the 2-norn, and stope when the difference of two subsequent approximate eigenvectors has 2-norm less than some prescribed tolerance τ. (e. g. τ = 10-6).

(i) Report the number of iterations performed.

(ii) Compared approximations with exact eigenvalue/eigenvector pair.

(iii) Use matalb to plot the computed eigenvector.

Put your comment

Ask Question & Get Answers from Experts
Browse some more (MATLAB Programming) Materials
Find the closed-loop transfer function T(s) = c(s)/R(s). Find a value of Kp that will yield less than 10% overshoot for the closed-loop system. (Note: ignore the zero dynamics
Write mass balance equations for the remaining 4 reactors. Put the known values in the 5 equations and convert each equation into a form where left hand side contains all th
you need to implement and demosaic function in matlab. Load a image in a .png file and process it into a color image. I am required to use 'rggb' with linear interpolation.
Consider a CSTR with a feed stream containing only A at a concentration of cA and the reactions A?B?C taking place in the CSTR. Both reactions are first order in the reactan
The assignment consists in writing a program in MATLAB Using the galerkin method for finite elements that can solve for: Displacements in x and y of a solid bar that is cons
Write a driver script that runs the functions above and using the least squares coefficients returned by the functions creates a single plot comparing the differences betwee
Write a MATLAB code that plots the phase portrait of the system. The values of the parameters r1, r2, K1, K2 are fixed and to be extracted from your matriculation number and y
Create a function TotalDaysMonth(intYear, intMonth, strIndOrCum) in both VB and Matlab to calculate the cumulative days or number of days in a given month, depending on inpu