Question: Can someone help me make these problems? Post a picture of your command window and function window in MATLAB so I can make sure that
Can someone help me make these problems? Post a picture of your command window and function window in MATLAB so I can make sure that I'm doing this correctly please, and thank you!
7. Write a function called income that takes two row vectors of the same length as input arguments. The first vector, rate contains the number of various products a company manufactures per hour simultaneously. The second vector, price includes the corresponding per item price they sell the given product for. The function must return the overall income the company generates in a week assuming a 6-day work week and two 8-hour long shifts per day. 8. Write a function called intquad that takes as its input arguments two scalar positive integers named n and m in that order. The function returns Q, a 2n-by-2m matrix. Q consists of four n-by-m submatrices. The elements of the submatrix in the top left corner are all as, the elements of the submatrix at the top right are 15, the elements in the bottom left are 2s, and the elements in the bottom right are 3s
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
