Page 1 of 1

using matlab

Posted: Thu May 12, 2022 2:29 pm
by answerhappygod
using matlab
Using Matlab 1
Using Matlab 1 (13.95 KiB) Viewed 33 times
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).