Question: matlab HW 5) Write a script named script100 that does the following o Defines a magic vector named M O Finds the value of vector
matlab HW
5) Write a script named script100 that does the following o Defines a magic vector named M O Finds the value of vector w where w is a row vector that contains the sum of each column o Finds the value of vector Rwhere R is a column vector that contains the sum of each row 6) What command are you going to use to call the script you built in Question 5. 7) Write a user-defined function named NEWSUM.m that does the following o This function accepts two numbers namely a and b o Returns the sum of these two variables O Please name the output variable k 8) What command are you going to use to call the function you built in Question 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
