How can I replace NaN in a table with a zero?
Show older comments
I have a table in MatLab titled data, and there are NaN values in the first couple rows of the table. I would like to change these values to zero, but any way I've tried gives an error message because it is a table and not a matrix or array. If anyone has a way to change these values it would be greatly appreciated! Thanks!
Accepted Answer
More Answers (1)
Categories
Find more on Tables 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!