Info
This question is closed. Reopen it to edit or answer.
How can I interpolate this row?
1 view (last 30 days)
Show older comments
Hi Everyone, I would like to get your help to interpolate this vector: x=[2 NaN NaN 5 NaN NaN] to fill the messing values
Thanks in advance
Riyadh
2 Comments
Rik
on 7 Nov 2017
Do you have an estimation of the function that should be used? Because if it is anything other than linear, you have too few values.
Answers (1)
M
on 7 Nov 2017
Edited: M
on 7 Nov 2017
Check if the fillmissing function does what you want. https://mathworks.com/help/matlab/ref/fillmissing.html
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!