Question: use MATLAB, please do number 2 Q1 : For 0a5, calculate the eigenvalues of A=01a000102000a2100000001a000102000a21. Plot the real and imaginary parts of the eigenvalues as
use MATLAB, please do number 2
Q1 : For 0a5, calculate the eigenvalues of A=01a000102000a2100000001a000102000a21. Plot the real and imaginary parts of the eigenvalues as functions of a. hints: you can first discretize a, then store the eigenvalues of A. Please use subplot to plot the real parts and imaginary parts. The x-coordinate is the discretized points of a. Q2 We define the following function u u=cos(r)(J0(r)+J1()i)cos()+sin()iJ0(r) where J(z) is the Bessel function of the first kind (in matlab you can use besselj(nu,z), and more details can be found by typing doc besselj in the command window). Here i is the imaginary unit. Let =10 and 0r2, plot the real part and imaginary part of u in one figure (hints: u is a function of r, so you can use r as the x-coordinate)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
