Clear Filters
Clear Filters

Error with fillmissing function

3 views (last 30 days)
Joe Sun
Joe Sun on 22 May 2017
Commented: Star Strider on 23 May 2017
I got a set of data (I call it 'data')with a lot of NaN which is 3800*4610 table, the first column is ID and the last column is predict output.
fillmissing(data,'movmean',4610);
I try to fill NaN in each column with the mean in that column. However, the error shows:
Undefined function or variable 'fillmissing'.
I'm not sure what's worng with that

Accepted Answer

Star Strider
Star Strider on 22 May 2017
The fillmissing (link) function was introduced in R2016b.
  2 Comments
Joe Sun
Joe Sun on 23 May 2017
so I cannot use it in R2016a?
Star Strider
Star Strider on 23 May 2017
Unfortunately, no.
You must upgrade to R2016b to have access to it.

Sign in to comment.

More Answers (0)

Categories

Find more on Preprocessing Data in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!