using matlab
Posted: Thu May 12, 2022 2:29 pm
using matlab
9. (8 pt) Write a function s=Sumpos (v) that finds the sum of all the positive numbers in a vec- tor. Use the function to find the sum of the positive integers in v = (-2,4, -3,5, 0,6,-8,2).
9. (8 pt) Write a function s=Sumpos (v) that finds the sum of all the positive numbers in a vec- tor. Use the function to find the sum of the positive integers in v = (-2,4, -3,5, 0,6,-8,2).