Question: MATLAB CODE please 4, (2006) Write a program that will perform the following a. Define 2 by 7 array contains random numbers in the interval

MATLAB CODE please

MATLAB CODE please 4, (2006) Write a program that will perform the

4, (2006) Write a program that will perform the following a. Define 2 by 7 array contains random numbers in the interval -10 to 10 b. Print the array c. The first row of the array represents the real part and the second row the imaginary part of a complex numbers Define another 2 by 7 array and fill the first row wit and the second row with their angle d. h the magnitude of the corresponding complex numbers e. Print the array f. Find the number that has the maximum magnitude. Print its magnitude, its angle and its location in the table (20%) Write a program that will perform the followings a. Accept a number, n, from the user in the interval 5 to 8 b. Define a square array n by rn c. Fill the array with random integer numbers in the interval 0.0 to 10.00 d. Print the array e. Switch the numbers in the second row with the numbers in the last row f. Print the resulted array g. Then switch the number in the second column with the numbers in the last column h. Print the resulted array 5

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!