Write a function for calculate value

1 view (last 30 days)
Cristian
Cristian on 5 May 2014
Answered: José-Luis on 5 May 2014
Write a function calcvals that will calculate the maximum, minimum, and mean value of a vector based on how many output arguments are used to call the function.
  1 Comment
José-Luis
José-Luis on 5 May 2014
How is this not homework? Will we get a copy/paste of your grades as well?

Sign in to comment.

Answers (1)

José-Luis
José-Luis on 5 May 2014
doc min
doc max
doc mean
doc varargin

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!