Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Matlab Questions Part 4-Array and Matrix Operations (20 points) Directions: Calc

ID: 3873556 • Letter: M

Question

Matlab Questions

Part 4-Array and Matrix Operations (20 points) Directions: Calculate the result for each of the following expressions. If necessary, use the dot produt formula XEXHE abrN e/1-(ae + bg af+bh edighce dg cf + dh >5·2+ [145]= (3pts) (4pts) 121. 121 34 33 31. [32 1]."2= (3pts) 32.2* [1 4 5] = (3pts) (3pts) 2 1 (4pts) 3 4 Extra Credit (10 points) Directions For each question below, fill in True" or "False". EC1 The following MATLAB code will display "-1" i a user enters a number (4pts) for n: n input('Enter a number: T disp(-1); end The MATLAB statement fprintf(pi, %f); will print out the value of pi in (3pts) EC2.- floating point format. A "while loop will execute a block of MATLAB statements indefinitely (3pts) long as some conditional expression is satisfied

Explanation / Answer

As per Chegg policy, I am answering only first 6 questions:

29.) 2*[1 4 5] = [2 8 10]; simple scalar multiplication

30.) [1 2; 3 4]*[2 1; 3 3] = [8 7; 18 15]

31.) [3 2 1].^2 = [9 4 1]

32.) 2.*[1 4 5] = [2 8 10]; scalar multiplication

33.) [1;3;4].*[2;1;2] = [2;3;8]

34.) [1 2; 3 4].*[2 1; 3 3] = [ 2 2; 9 12]

Hope it helps, do give your valuable response.