Why do I get NaN for data on uiimport?

I get Nan for the row 18 down, when float type dat was there. What could fix this?

 Accepted Answer

NaN means the data in that row,column is missing. You can specify what to put there instead if you don't want NaN. You can do that interactively in the import tool (see the first example here), or after the fact with fillmissing or standardizemissing functions.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!