Question: LAB REVISION 1. Write a MATLAB script to build a matrix nxn where the elements of the matrix are defined by: A(i,j)=2ij for i j

 LAB REVISION 1. Write a MATLAB script to build a matrix

LAB REVISION 1. Write a MATLAB script to build a matrix nxn where the elements of the matrix are defined by: A(i,j)=2ij for ij For n=5 : a-Calculate the determinant of the matrix A b- Find the LU factorisation c- Find the characteristic polynome of A d- Find the eigenvalues and the eigenvectors of A 2. Write a MATLAB script to solve the system: x1+2x2+3x3+5x4=4x13x2+4x3x4=92x13x25x33x4=86x18x2+x3+x4=11 a- Using the command linesolve b-Using the inv function. 3. Plot on the same figure the graphs of the functions f(x)= 3cos(2x2) and g(x)=2sin(3x+3) in the interval [2pi,2pi] with different colors, markers, line style and a line width 2. - label the axis - place legends - write a title of the graph 4. solve the differential equation: {y=ky+5y(0)=a,y(0)2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!