Question: Write a MATLAB script that performs the following: 0.0 0.5 2.1 -3.5 6.0 0.0 -1.1 -6.6 2.8 3.4 array1 = 2.1 0.1 0.3 -0.4

Write a MATLAB script that performs the following: 0.0 0.5 2.1 -3.5   

Write a MATLAB script that performs the following: 0.0 0.5 2.1 -3.5 6.0 0.0 -1.1 -6.6 2.8 3.4 array1 = 2.1 0.1 0.3 -0.4 1.3 1.1 5.1 0.0 1.1 -2.0 a. Generate and Display the 2x3 matrix from array1 and store in the array! Mat23 b. Square the elements of array1 and store the output into another sub matrix, say array1_Second. c. Sum the elements in each row of array1_Second. d. Display only diagonal elements of array! and then find total sum of the diagonal elements and store the result in the array1_Diag. e. Delete the 5th column and find the determinant of the array!. f. Replace the third row with Y= [3.1 3.2 3.3 3.4 3.5] g. Delete the fourth row, fourth column and fifth column and store the updated matrix in array1_New. h. Find the inverse of the array! New and store in the array1_NewInverse i. Find the rank of the array1_New j. Swap the second and third column of the array! New

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 Programming Questions!