Question: Write a Matlab program to find and display the payment after the discount(s) for each customer. Use 1 and 2 for F and M, respectively.

Write a Matlab program to find and display the payment after the discount(s) for each customer. Use 1 and 2 for F and M, respectively. 4. A vector is given is given as x=[15 20 12 -8 -12 9 13 22 18 -8 9 24 16 0]. Write a program in a script file that determines the sum of the vector elements which are positive and divisible by 4. (Hint: use mod function)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
