Problem with the function mean - mean(x,'omitnan)
Show older comments
I tried to run a code and I have a problem with a simple mean. I look the code and the specification of the mean is mean(x,'omitnan'). When I look the function mean in my matlab, the code didn't say anything about using "omitnan" in the function code.
3 Comments
Birdman
on 16 Feb 2018
Can you share your code?
Guillaume
on 16 Feb 2018
The code you posted had this line:
% Copyright 1984-2015 The MathWorks, Inc.
Do not post copyrighted code
Adam
on 16 Feb 2018
You should always use
doc mean
to get your local version of the help instead of the online version which is for the latest version.
Accepted Answer
More Answers (0)
Categories
Find more on Programming in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!