Florida International University Matrixes in Matlab Homework make sure you are familiar with solving matrix in Matlab platform before you bid for the question. solve all questions in the attachment in mat lab, I need a script for each question and its output when you run it.when you finish solving everything I need you to send me one file that has the code and a pic of the output under each question. Engineering Analysis
Extra Credit Exam 2
1.-Using MATLAB enter the next Matrix:
>>a = -2:2
Apply:
>>twon = norm(a)
What is the value twon? Explain
>>unitv = a /twon
What is unitv? Explain
2.- Enter matrix b
>>b = (1:5)’
What do you obtain using:
>>angle = acos((a*b)/(norm(a)*norm(b)))
What is angle?. Based on which formula? Explain
3.- Now let A and B be:
>>A = randi(15,3,5)
>>B = randi(25,3,5)
What is?
>>C = cross(A,B)
Explain
4.- Having A and B
>>A = [4 -1 2];
>>B = [2 -2 -1];
What is?
>>C = dot(A,B)
How can you find the norm of A using dot?
5.- Enter matrix A
>>A = randi(15,3,5)
Run the next commands on A:
>>[V, pivot] = rref(A)
>>r = length(pivot)
>>cs = A(:,pivot)
>>ns = null(A,’r’)
>>rs = V(1:r,:)’
>>lns = null(A’,’r’)
Comment every command and explain
What do you obtain for the next commend? Why?
>>rs’*ns
6.- Enter the next commands
>>cb = checkerboard(4,2);
>>cb_ref = imref2d(size(cb));
>>background = zeros(150);
>>imshowpair(cb,cb_ref,background,imref2d(size(background)))
What do you obtain? Explain
Now aply
>>T = [1 0 0;0 1 0;100 0 1];
>>tform_t = affine2d(T);
Finally aply:
>>[out,out_ref] = imwarp(cb,cb_ref,tform_tr);
>>imshowpair(out,out_ref,background,imref2d(size(background)))
What do you obtain> Explain
What is T?
7.- Write the commands and show an example for a 3×3 matrix of the Gram-Schmidt orthogonalization
using MATLAB.
8.- Let A be:
>> A = pascal(3)
What is this type of matrix? Explain
Apply:
>>[V, D] = eig(A)
What are V and D? Explain in detail
9.- Consider the system of DEs
When the system is put into the form v? = Av, the matrix is given by:
Enter:
>>[eigvec, eigval] = eig(A)
What do you obtain? Explain
Using the eigenvalues and eigenvectors obtained, find the DEs general solution
10.- Consider the system of DEs
Put the system above in the form v? = Av and enter the matrix A into MATLAB.
Use MATLAB to find the eigenvalues and eigenvectors of A.
Write the general solution of the system
Purchase answer to see full
attachment
LDR 3302-21.01.01-1A24-S1, Organizational Theory and Behavior Unit III Essay Top of Form Bottom of Form…
Chapter 9 What are teratogens? Give 5 examples. Define each of these stages: Germinal, embryonic,…
You are a Financial Analyst that has been appointed to lead a team in the…
You are familiar with the ANA Code of Ethics and have a growing understanding of…
This week’s discussion will focus on management decision-making and control in two companies, American corporation…
Mary Rowlandson felt that the man who eventually came to own her, Quinnapin, was “the…