A. Write a MATLAB script that performs the following: a. Ask the user to enter the input value and store in the 'Input_v
Posted: Sat Feb 19, 2022 3:21 pm
A. Write a MATLAB script that performs the following: a. Ask the user to enter the input value and store in the 'Input_value'. b. Generate a magic matrix of 'Input_value and store the output into a matrix, say Mat_First c. Generate and Display the 2x3 matrix from Mat First and store in the Disp_Mat23 d. Multiply the elements of Mat First by 3 and store the output into another matrix, say Mat_Second. e. Generate 3x3 matrix from Mat Second and store in the Mat Third. f. Sum the elements in each row. g. Sum of the diagonal of the Mat_Third and store in the Mat Diag. h. Find the rank of the Mat Mat Third and store in the Mat Rank 1. Sum all the elements of each of the Mat Third and print the output of each.