Hi, I'm new to MATLAB and i'm trying to solve this problem:
Write a function: named myAver that takes a vector xyz as input argument and returns as output two variables: scalar Mav which stores an average value of the vector and logic variable err. You cannot use MATLAB mean function.
1 Comment
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/213865-write-a-function-that-takes-a-vector-xyz-and-returns-as-output-two-variables#comment_281286
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/213865-write-a-function-that-takes-a-vector-xyz-and-returns-as-output-two-variables#comment_281286
Sign in to comment.