Question: use matlab do u need more clear pic ? %{ Create a new user-defined function file 'join_rotate.m' that recieves three inputs: matrixi, matrix2, and K.

use matlab  use matlab do u need more clear pic ? %{ Create
a new user-defined function file 'join_rotate.m' that recieves three inputs: matrixi, matrix2,
do u need more clear pic ?

%{ Create a new user-defined function file 'join_rotate.m' that recieves three inputs: matrixi, matrix2, and K. The function should join the two matrices into one (by placing matrix2 directly beneath matrix1) and then rotate the combined matrix K*90 degrees CCW. The output will be the resulting rotated matrix. a. Create a program that: 1.) prompts the user for the first matrix, second matrix, and the value of K 2.) calls the user-defined function' join_rotate 3.) displays the result to the user 67 When run, the program should generate an output identical to what is shown below: Command Window fx >> 2.) calls the user-defined function' join_rotate' 3.) displays the result to the user When run, the program should generate an output identical to what is shown below: Specify the first matrix: (1 2; 3 4] Specify the second matrix: (5 6; 7 8] Specify K for K*90 deg CCW rotation: -1 The second matrix was appended to the first (vertically). The combined matrix'was rotated -90 degrees CCW. new_mat = 8 6 86 88 89 Command Window

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!