Error with fillmissing syntax
18 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Farbos de Luzan
el 9 de Dic. de 2020
Editada: Farbos de Luzan
el 11 de Dic. de 2020
Hello,
I have a simple 274x108 matrix A with numbers and NaNs.
I want to replace the Nans with interpolated values using fillmissing.
I would like to use the parameter 'MaxGap' — Maximum gap size to fill.
dim = 1;
[F,TF] = fillmissing(A,'linear',dim,'MaxGap',2);
No matter how I try to use it, it returns:
Error using fillmissing/parseInputs (line 455)
Fill method must be 'constant', 'previous', 'next', 'nearest', 'linear', 'spline', 'pchip',
'makima', 'movmean', or 'movmedian'.
How do you use the MaxGap parameter?
Thank you in advance!
Charles
6 comentarios
Adam Danz
el 11 de Dic. de 2020
MaxGap wasn't an option prior to r2020b
Here's documentation for 20a and that parameter isn't mentioned
Respuesta aceptada
Más respuestas (1)
Ver también
Categorías
Más información sobre Data Preprocessing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!