octave program. write the following functions:
a. sum: this function accepts a vector as a parameter.it willadd all the elements in the vector, and return their total anddisplays it as well.
b. average: this function accepts a vector as a parameter . Itwill calculate the average of the elements, returns it and displaysit .
c. largest: this function accepts a vector as a parameter. Itwill find the largest value , returns it and displays it.
d. smallest: this function accepts a vector as a parameter. Itwill find the smallest value , returns it and displays it.
Expert Answer
An answer will be send
PayPal Gateway not configured
PayPal Gateway not configured