Question: Problem 1 (20 pts) O solutions submitted (max: Unlimited) Develop a MATLAB function to calculate, for a given array (vector), the mean value of all

Problem 1 (20 pts) O solutions submitted (max: Unlimited) Develop a MATLAB function to calculate, for a given array (vector), the mean value of all the elements in the array: . the number of elements in the array: the number of zero elements in the array Function Reset MATLAB Documentation 1 function [M, N, n] = Mid1_P1(V) 2 % Input: 3 % V: an array of real numbers (row vector) 4 % Output: 5% M: mean value of of all the elements in array V (scalar) 6% N: number of elements in array V (scalar) 7% nu number of zero elements in array V (scalar) 8 % Write your code here end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
